Home
last modified time | relevance | path

Searched refs:stat_round (Results 1 – 6 of 6) sorted by relevance

/tools/perf/tests/
Dstat.c98 struct stat_round_event *stat_round = &event->stat_round; in process_stat_round_event() local
100 TEST_ASSERT_VAL("wrong time", stat_round->time == 0xdeadbeef); in process_stat_round_event()
101 TEST_ASSERT_VAL("wrong type", stat_round->type == PERF_STAT_ROUND_TYPE__INTERVAL); in process_stat_round_event()
/tools/perf/util/
Dtool.h73 stat_round, member
Dsession.c430 if (tool->stat_round == NULL) in perf_tool__fill_defaults()
431 tool->stat_round = process_stat_round_stub; in perf_tool__fill_defaults()
786 event->stat_round.type = bswap_64(event->stat_round.type); in perf_event__stat_round_swap()
787 event->stat_round.time = bswap_64(event->stat_round.time); in perf_event__stat_round_swap()
1406 return tool->stat_round(tool, event, session); in perf_session__process_user_event()
Devent.h650 struct stat_round_event stat_round; member
/tools/perf/
Dbuiltin-stat.c2373 struct stat_round_event *stat_round = &event->stat_round; in process_stat_round_event() local
2382 if (stat_round->type == PERF_STAT_ROUND_TYPE__FINAL) in process_stat_round_event()
2383 update_stats(&walltime_nsecs_stats, stat_round->time); in process_stat_round_event()
2385 if (stat_config.interval && stat_round->time) { in process_stat_round_event()
2386 tsh.tv_sec = stat_round->time / NSEC_PER_SEC; in process_stat_round_event()
2387 tsh.tv_nsec = stat_round->time % NSEC_PER_SEC; in process_stat_round_event()
2491 .stat_round = process_stat_round_event,
Dbuiltin-script.c2579 struct stat_round_event *round = &event->stat_round; in process_stat_round_event()
2688 .stat_round = process_stat_round_event, in cmd_script()