Lines Matching refs:stat
4 #include "stat.h"
31 struct runtime_stat *stat;
51 * are cpu/type/ctx/stat (evsel is NULL). For generic metrics
52 * case, the keys are still evsel/cpu (type/ctx/stat are 0 or NULL).
61 if (a->stat == b->stat)
64 if ((char *)a->stat < (char *)b->stat)
112 .stat = st,
396 * perf stat doesn't understand all the scheduling constraints
727 struct runtime_stat *stat)
729 double sum = runtime_stat_avg(stat, STAT_TOPDOWN_RETIRING, ctx, cpu) +
730 runtime_stat_avg(stat, STAT_TOPDOWN_FE_BOUND, ctx, cpu) +
731 runtime_stat_avg(stat, STAT_TOPDOWN_BE_BOUND, ctx, cpu) +
732 runtime_stat_avg(stat, STAT_TOPDOWN_BAD_SPEC, ctx, cpu);
733 double d = runtime_stat_avg(stat, type, ctx, cpu);
746 struct runtime_stat *stat)
750 if (runtime_stat_avg(stat, STAT_TOPDOWN_RETIRING, ctx, cpu) > 0)
752 if (runtime_stat_avg(stat, STAT_TOPDOWN_BE_BOUND, ctx, cpu) > 0)
754 if (runtime_stat_avg(stat, STAT_TOPDOWN_FE_BOUND, ctx, cpu) > 0)
756 if (runtime_stat_avg(stat, STAT_TOPDOWN_BAD_SPEC, ctx, cpu) > 0)