Home
last modified time | relevance | path

Searched refs:ru_stats (Results 1 – 3 of 3) sorted by relevance

/tools/perf/util/
Dstat.h106 struct rusage_stats *ru_stats; member
136 static inline void init_rusage_stats(struct rusage_stats *ru_stats) { in init_rusage_stats() argument
137 init_stats(&ru_stats->ru_utime_usec_stat); in init_rusage_stats()
138 init_stats(&ru_stats->ru_stime_usec_stat); in init_rusage_stats()
141 static inline void update_rusage_stats(struct rusage_stats *ru_stats, struct rusage* rusage) { in update_rusage_stats() argument
144 update_stats(&ru_stats->ru_utime_usec_stat, in update_rusage_stats()
146 update_stats(&ru_stats->ru_stime_usec_stat, in update_rusage_stats()
154 extern struct rusage_stats ru_stats;
Dstat-shadow.c20 struct rusage_stats ru_stats; variable
76 memset(&ru_stats, 0, sizeof(ru_stats)); in perf_stat__reset_shadow_stats()
387 stats = &ru_stats.ru_utime_usec_stat; in prepare_metric()
391 stats = &ru_stats.ru_stime_usec_stat; in prepare_metric()
/tools/perf/
Dbuiltin-stat.c160 .ru_stats = &ru_stats,
296 val = ru_stats.ru_utime_usec_stat.mean; in read_single_counter()
298 val = ru_stats.ru_stime_usec_stat.mean; in read_single_counter()
925 update_rusage_stats(&ru_stats, &stat_config.ru_data); in __run_perf_stat()