/tools/testing/selftests/x86/ |
D | test_vdso.c | 217 static void test_one_clock_gettime(int clock, const char *name) in test_one_clock_gettime() argument 222 printf("[RUN]\tTesting clock_gettime for clock %s (%d)...\n", name, clock); in test_one_clock_gettime() 224 if (sys_clock_gettime(clock, &start) < 0) { in test_one_clock_gettime() 226 vdso_ret = vdso_clock_gettime(clock, &vdso); in test_one_clock_gettime() 234 printf("[WARN]\t clock_gettime(%d) syscall returned error %d\n", clock, errno); in test_one_clock_gettime() 239 vdso_ret = vdso_clock_gettime(clock, &vdso); in test_one_clock_gettime() 240 end_ret = sys_clock_gettime(clock, &end); in test_one_clock_gettime() 267 for (int clock = 0; clock < sizeof(clocknames) / sizeof(clocknames[0]); in test_clock_gettime() local 268 clock++) { in test_clock_gettime() 269 test_one_clock_gettime(clock, clocknames[clock]); in test_clock_gettime()
|
/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 351 clock_gettime(clock, &start); \ 354 clock_gettime(clock, &middle); \ 357 clock_gettime(clock, &end); \ 430 clockid_t clock; in perf_test_thread() local 442 if (pthread_getcpuclockid(cpu_threads[0], &clock) != 0) in perf_test_thread() 445 if (clock_getres(clock, &res)) in perf_test_thread() 485 clock_gettime(clock, &start); in perf_test_thread() 490 clock_gettime(clock, &end); in perf_test_thread() 514 clock_gettime(clock, &start); in perf_test_thread() 516 clock_gettime(clock, &end); in perf_test_thread()
|
/tools/testing/selftests/timens/ |
D | timens.c | 38 #define ct(clock, off_id) { clock, #clock, off_id } argument
|
/tools/perf/util/ |
D | data-convert-bt.c | 64 struct bt_ctf_clock *clock; member 821 bt_ctf_clock_set_time(cw->clock, sample->time); in process_sample_event() 888 bt_ctf_clock_set_time(cw->clock, sample->time); \ 1391 struct bt_ctf_clock *clock = cw->clock; in ctf_writer__setup_clock() local 1398 if (!env->clock.enabled) { in ctf_writer__setup_clock() 1404 desc = clockid_name(env->clock.clockid); in ctf_writer__setup_clock() 1405 offset = env->clock.tod_ns - env->clock.clockid_ns; in ctf_writer__setup_clock() 1410 if (bt_ctf_clock_set_##__n(clock, __v)) \ in ctf_writer__setup_clock() 1493 bt_ctf_clock_put(cw->clock); in ctf_writer__cleanup() 1507 struct bt_ctf_clock *clock; in ctf_writer__init() local [all …]
|
D | env.h | 114 } clock; member
|
D | parse-events.l | 338 cpu-clock { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CPU_CLOCK); } 339 task-clock { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_TASK_CLOCK); }
|
D | header.c | 895 return do_write(ff, &ff->ph->env.clock.clockid_res_ns, in write_clockid() 896 sizeof(ff->ph->env.clock.clockid_res_ns)); in write_clockid() 914 data32 = ff->ph->env.clock.clockid; in write_clock_data() 921 data64 = &ff->ph->env.clock.tod_ns; in write_clock_data() 928 data64 = &ff->ph->env.clock.clockid_ns; in write_clock_data() 1584 ff->ph->env.clock.clockid_res_ns * 1000); in print_clockid() 1596 if (!ff->ph->env.clock.enabled) { in print_clock_data() 1602 ref = ff->ph->env.clock.tod_ns; in print_clock_data() 1608 ref = ff->ph->env.clock.clockid_ns; in print_clock_data() 1613 clockid = ff->ph->env.clock.clockid; in print_clock_data() [all …]
|
/tools/perf/Documentation/ |
D | perf-data.txt | 31 Convert time to wall clock time.
|
D | jitdump-specification.txt | 31 …he file is timestamped. All timestamps must use the same clock source. The CLOCK_MONOTONIC clock s… 49 …AMP : set if the jitdump file is using an architecture-specific timestamp clock source. For instan…
|
D | perf.data-file-format.txt | 328 conversion into wall clock time on the reporting stage. 394 Contains clock id and its reference time together with wall clock
|
D | security.txt | 197 36,387.41 msec cpu-clock # 7.999 CPUs utilized
|
D | perf-stat.txt | 443 83723.452481 task-clock:u (msec) # 1.004 CPUs utilized
|
D | perf-intel-pt.txt | 350 clock (CTC) which is related to TSC packets using a TMA packet. 378 Where CTC is the hardware crystal clock, the frequency of which
|
D | perf-record.txt | 436 Sets the clock id to use for the various time fields in the perf_event_type
|
/tools/edid/ |
D | edid.S | 182 clock: .hword CLOCK/10 label
|
/tools/perf/tests/ |
D | Build | 29 perf-y += sw-clock.o
|
/tools/perf/ |
D | builtin-record.c | 1570 session->header.env.clock.clockid_res_ns = rec->opts.clockid_res_ns; in record__init_clock() 1572 session->header.env.clock.clockid = rec->opts.clockid; in record__init_clock() 1587 session->header.env.clock.tod_ns = ref; in record__init_clock() 1592 session->header.env.clock.clockid_ns = ref; in record__init_clock()
|
D | builtin-script.c | 599 if (tod && !session->header.env.clock.enabled) { in perf_session__check_output_opt() 645 if (!env->clock.enabled) { in tod_scnprintf() 650 clockid_ns = env->clock.clockid_ns; in tod_scnprintf() 651 tod_ns = env->clock.tod_ns; in tod_scnprintf()
|
/tools/include/uapi/linux/ |
D | kvm.h | 1164 __u64 clock; member
|
/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 696 clock_t clock = times(&timebuf); in TEST_SIGNAL() local 705 EXPECT_LE(clock, syscall(__NR_times, &timebuf)); in TEST_SIGNAL()
|