Home
last modified time | relevance | path

Searched refs:clock_gettime (Results 1 – 42 of 42) sorted by relevance

/linux-4.1.27/tools/testing/selftests/timers/
Dnsleep-lat.c118 if (clock_gettime(clockid, &start)) in nanosleep_lat_test()
126 clock_gettime(clockid, &start); in nanosleep_lat_test()
129 clock_gettime(clockid, &end); in nanosleep_lat_test()
138 clock_gettime(clockid, &start); in nanosleep_lat_test()
141 clock_gettime(clockid, &end); in nanosleep_lat_test()
Dnanosleep.c116 if (clock_gettime(clockid, &now)) in nanosleep_test()
122 clock_gettime(clockid, &now); in nanosleep_test()
128 clock_gettime(clockid, &now); in nanosleep_test()
134 clock_gettime(clockid, &now); in nanosleep_test()
Draw_skew.c90 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw()
91 clock_gettime(CLOCK_MONOTONIC_RAW, &mid); in get_monotonic_and_raw()
92 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
112 if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) { in main()
Dleap-a-day.c142 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure()
145 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure()
185 if (clock_gettime(CLOCK_TAI, &ts)) { in main()
207 clock_gettime(CLOCK_REALTIME, &ts); in main()
284 clock_gettime(CLOCK_TAI, &tai); in main()
Dmqueue-lat.c86 clock_gettime(CLOCK_MONOTONIC, &start); in mqueue_lat_test()
91 clock_gettime(CLOCK_REALTIME, &now); in mqueue_lat_test()
101 clock_gettime(CLOCK_MONOTONIC, &end); in mqueue_lat_test()
Dinconsistency-check.c113 clock_gettime(clock_type, &list[0]); in consistency_test()
125 clock_gettime(clock_type, &list[i]); in consistency_test()
197 if (!clock_gettime(clockid, &ts)) { in main()
Dalarmtimer-suspend.c113 clock_gettime(alarm_clock_id, &ts); in sigalarm()
157 clock_gettime(alarm_clock_id, &start_time); in main()
Dthreadtest.c104 clock_gettime(CLOCK_MONOTONIC, &global_list[listcount++]); in shared_thread()
123 clock_gettime(CLOCK_MONOTONIC, &my_list[count]); in independent_thread()
Dset-timer-lat.c111 clock_gettime(clock_id, &ts); in sigalarm()
153 clock_gettime(clock_id, &start_time); in do_timer()
Dleapcrash.c88 clock_gettime(CLOCK_REALTIME, &ts); in main()
/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/
Damd_fam14h_idle.c232 clock_gettime(CLOCK_REALTIME, &start_time); in amd_fam14h_start()
238 clock_gettime(CLOCK_REALTIME, &dbg_time); in amd_fam14h_start()
251 clock_gettime(CLOCK_REALTIME, &end_time); in amd_fam14h_stop()
258 clock_gettime(CLOCK_REALTIME, &dbg_time); in amd_fam14h_stop()
Dcpuidle_sysfs.c49 clock_gettime(CLOCK_REALTIME, &start_time); in cpuidle_start()
66 clock_gettime(CLOCK_REALTIME, &end_time); in cpuidle_stop()
Dmperf_monitor.c191 clock_gettime(CLOCK_REALTIME, &time_start); in mperf_start()
211 clock_gettime(CLOCK_REALTIME, &time_end); in mperf_stop()
Dcpupower-monitor.c281 clock_gettime(CLOCK_REALTIME, &start); in fork_it()
303 clock_gettime(CLOCK_REALTIME, &end); in fork_it()
/linux-4.1.27/tools/testing/selftests/mqueue/
Dmq_perf_tests.c345 clock_gettime(clock, &start); \
348 clock_gettime(clock, &middle); \
351 clock_gettime(clock, &end); \
479 clock_gettime(clock, &start); in perf_test_thread()
484 clock_gettime(clock, &end); in perf_test_thread()
508 clock_gettime(clock, &start); in perf_test_thread()
510 clock_gettime(clock, &end); in perf_test_thread()
/linux-4.1.27/Documentation/ptp/
Dtestptp.c313 if (clock_gettime(clkid, &ts)) { in main()
322 clock_gettime(CLOCK_REALTIME, &ts); in main()
331 clock_gettime(clkid, &ts); in main()
438 if (clock_gettime(clkid, &ts)) { in main()
Dptp.txt45 clock_gettime, clock_settime, and clock_adjtime. These calls
/linux-4.1.27/tools/testing/selftests/vm/
Dtranshuge-stress.c108 clock_gettime(CLOCK_MONOTONIC, &a); in main()
136 clock_gettime(CLOCK_MONOTONIC, &b); in main()
/linux-4.1.27/arch/x86/vdso/
Dvdso.lds.S19 clock_gettime;
Dvclock_gettime.c317 int clock_gettime(clockid_t, struct timespec *)
/linux-4.1.27/arch/x86/um/vdso/
Dvdso.lds.S20 clock_gettime;
Dum_vdso.c28 int clock_gettime(clockid_t, struct timespec *)
/linux-4.1.27/samples/bpf/
Dtracex4_user.c27 clock_gettime(CLOCK_MONOTONIC, &ts); in time_get_ns()
/linux-4.1.27/tools/perf/
Dperf.h28 clock_gettime(CLOCK_MONOTONIC, &ts); in rdclock()
Dbuiltin-stat.c556 clock_gettime(CLOCK_MONOTONIC, &ts); in print_interval()
698 clock_gettime(CLOCK_MONOTONIC, &ref_time); in __run_perf_stat()
1815 clock_gettime(CLOCK_REALTIME, &tm); in cmd_stat()
Dbuiltin-sched.c180 clock_gettime(CLOCK_MONOTONIC, &ts); in get_nsecs()
/linux-4.1.27/arch/tile/kernel/vdso/
Dvdso.lds.S86 clock_gettime;
Dvgettimeofday.c197 int clock_gettime(clockid_t clock, struct timespec *ts)
/linux-4.1.27/include/linux/
Dposix-clock.h62 int (*clock_gettime)(struct posix_clock *pc, struct timespec *ts); member
/linux-4.1.27/arch/s390/kernel/vdso32/
DMakefile3 obj-vdso32 = gettimeofday.o clock_getres.o clock_gettime.o note.o
/linux-4.1.27/arch/s390/kernel/vdso64/
DMakefile3 obj-vdso64 = gettimeofday.o clock_getres.o clock_gettime.o note.o
/linux-4.1.27/kernel/time/
Dposix-clock.c309 if (cd.clk->ops.clock_gettime) in pc_clock_gettime()
310 err = cd.clk->ops.clock_gettime(cd.clk, ts); in pc_clock_gettime()
Dposix-timers.c1020 SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
/linux-4.1.27/drivers/ptp/
Dptp_clock.c169 .clock_gettime = ptp_clock_gettime,
/linux-4.1.27/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c788 if (clock_gettime(CLOCK_REALTIME, &time) == -1) { in acpi_os_wait_semaphore()
/linux-4.1.27/arch/parisc/kernel/
Dsyscall_table.S354 ENTRY_COMP(clock_gettime)
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h253 COMPAT_SYS_SPU(clock_gettime)
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_64.tbl237 228 common clock_gettime sys_clock_gettime
Dsyscall_32.tbl274 265 i386 clock_gettime sys_clock_gettime compat_sys_clock_gettime
/linux-4.1.27/tools/perf/Documentation/
Dperf-record.txt256 records. See clock_gettime(). In particular CLOCK_MONOTONIC and
/linux-4.1.27/kernel/
Dcompat.c757 COMPAT_SYSCALL_DEFINE2(clock_gettime, clockid_t, which_clock, in COMPAT_SYSCALL_DEFINE2() argument
/linux-4.1.27/arch/arm/mm/
DKconfig836 clock_gettime. Systems that implement the ARM architected