Home
last modified time | relevance | path

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

/tools/perf/tests/
Dstat.c99 struct perf_record_stat_round *stat_round = &event->stat_round; in process_stat_round_event() local
101 TEST_ASSERT_VAL("wrong time", stat_round->time == 0xdeadbeef); in process_stat_round_event()
102 TEST_ASSERT_VAL("wrong type", stat_round->type == PERF_STAT_ROUND_TYPE__INTERVAL); in process_stat_round_event()
/tools/perf/util/
Dtool.h74 stat_round, member
Dsession.c524 if (tool->stat_round == NULL) in perf_tool__fill_defaults()
525 tool->stat_round = process_stat_round_stub; in perf_tool__fill_defaults()
905 event->stat_round.type = bswap_64(event->stat_round.type); in perf_event__stat_round_swap()
906 event->stat_round.time = bswap_64(event->stat_round.time); in perf_event__stat_round_swap()
1557 return tool->stat_round(session, event); in perf_session__process_user_event()
/tools/perf/
Dbuiltin-stat.c1456 struct perf_record_stat_round *stat_round = &event->stat_round; in process_stat_round_event() local
1465 if (stat_round->type == PERF_STAT_ROUND_TYPE__FINAL) in process_stat_round_event()
1466 update_stats(&walltime_nsecs_stats, stat_round->time); in process_stat_round_event()
1468 if (stat_config.interval && stat_round->time) { in process_stat_round_event()
1469 tsh.tv_sec = stat_round->time / NSEC_PER_SEC; in process_stat_round_event()
1470 tsh.tv_nsec = stat_round->time % NSEC_PER_SEC; in process_stat_round_event()
1603 .stat_round = process_stat_round_event,
Dbuiltin-script.c3257 struct perf_record_stat_round *round = &event->stat_round; in process_stat_round_event()
3436 .stat_round = process_stat_round_event, in cmd_script()
/tools/perf/lib/include/perf/
Devent.h379 struct perf_record_stat_round stat_round; member