Home
last modified time | relevance | path

Searched refs:clock (Results 1 – 8 of 8) sorted by relevance

/tools/testing/selftests/mqueue/
Dmq_perf_tests.c346 clock_gettime(clock, &start); \
349 clock_gettime(clock, &middle); \
352 clock_gettime(clock, &end); \
425 clockid_t clock; in perf_test_thread() local
437 if (pthread_getcpuclockid(cpu_threads[0], &clock) != 0) in perf_test_thread()
440 if (clock_getres(clock, &res)) in perf_test_thread()
480 clock_gettime(clock, &start); in perf_test_thread()
485 clock_gettime(clock, &end); in perf_test_thread()
509 clock_gettime(clock, &start); in perf_test_thread()
511 clock_gettime(clock, &end); in perf_test_thread()
/tools/perf/util/
Ddata-convert-bt.c56 struct bt_ctf_clock *clock; member
586 bt_ctf_clock_set_time(cw->clock, sample->time); in process_sample_event()
919 struct bt_ctf_clock *clock = cw->clock; in ctf_writer__setup_clock() local
921 bt_ctf_clock_set_description(clock, "perf clock"); in ctf_writer__setup_clock()
925 if (bt_ctf_clock_set_##__n(clock, __v)) \ in ctf_writer__setup_clock()
1001 bt_ctf_clock_put(cw->clock); in ctf_writer__cleanup()
1014 struct bt_ctf_clock *clock; in ctf_writer__init() local
1026 clock = bt_ctf_clock_create("perf_clock"); in ctf_writer__init()
1027 if (!clock) { in ctf_writer__init()
1032 cw->clock = clock; in ctf_writer__init()
[all …]
Dparse-events.l231 cpu-clock { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CPU_CLOCK); }
232 task-clock { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_TASK_CLOCK); }
/tools/perf/tests/
DBuild24 perf-y += sw-clock.o
/tools/perf/Documentation/
Dperf-stat.txt181 8117.370256 task clock ticks # 11.281 CPU utilization factor
190 Wall-clock time elapsed: 719.554352 msecs
Dperf-record.txt300 Sets the clock id to use for the various time fields in the perf_event_type
Dintel-pt.txt282 clock (CTC) which is related to TSC packets using a TMA packet.
310 Where CTC is the hardware crystal clock, the frequency of which
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c455 clock_t clock = times(&timebuf); in TEST_SIGNAL() local
464 EXPECT_LE(clock, syscall(__NR_times, &timebuf)); in TEST_SIGNAL()