Home
last modified time | relevance | path

Searched refs:svals (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/perf/
H A Dbuiltin-diff.c619 static void init_spark_values(unsigned long *svals, int num) in init_spark_values() argument
622 svals[i] = 0; in init_spark_values()
625 static void update_spark_value(unsigned long *svals, int num, in update_spark_value() argument
631 svals[n] = val; in update_spark_value()
647 init_spark_values(pair->diff.svals, NUM_SPARKS); in compute_cycles_diff()
658 update_spark_value(pair->diff.svals, NUM_SPARKS, in compute_cycles_diff()
1499 static int print_cycles_spark(char *bf, int size, unsigned long *svals, u64 n) in print_cycles_spark() argument
1508 if (all_zero(svals, n)) in print_cycles_spark()
1511 printed = print_spark(bf, size, svals, n); in print_cycles_spark()
1544 ret = print_cycles_spark(spark, sizeof(spark), block_he->diff.svals, in hpp__color_cycles_hist()
/openbmc/linux/tools/perf/util/
H A Dsort.h76 unsigned long svals[NUM_SPARKS]; member