Home
last modified time | relevance | path

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

/linux-4.4.14/tools/testing/selftests/timers/
Dadjtick.c86 clock_gettime(CLOCK_MONOTONIC, mon); in get_monotonic_and_raw()
87 clock_gettime(CLOCK_MONOTONIC_RAW, raw); in get_monotonic_and_raw()
93 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw()
94 clock_gettime(CLOCK_MONOTONIC_RAW, &mid); in get_monotonic_and_raw()
95 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
187 if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) { in main()
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.c117 if (clock_gettime(clockid, &now)) in nanosleep_test()
123 clock_gettime(clockid, &now); in nanosleep_test()
129 clock_gettime(clockid, &now); in nanosleep_test()
135 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()
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()
Dleap-a-day.c175 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure()
178 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure()
225 if (clock_gettime(CLOCK_TAI, &ts)) { in main()
253 clock_gettime(CLOCK_REALTIME, &ts); in main()
348 clock_gettime(CLOCK_TAI, &tai); in main()
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()
161 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.4.14/arch/um/os-Linux/
Dtime.c36 clock_gettime(CLOCK_REALTIME, &realtime_tp); in os_persistent_clock_emulation()
154 clock_gettime(CLOCK_PROCESS_CPUTIME_ID,&ts); in os_vnsecs()
162 clock_gettime(CLOCK_MONOTONIC,&ts); in os_nsecs()
/linux-4.4.14/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.c285 clock_gettime(CLOCK_REALTIME, &start); in fork_it()
307 clock_gettime(CLOCK_REALTIME, &end); in fork_it()
/linux-4.4.14/tools/testing/selftests/mqueue/
Dmq_perf_tests.c346 clock_gettime(clock, &start); \
349 clock_gettime(clock, &middle); \
352 clock_gettime(clock, &end); \
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()
/linux-4.4.14/Documentation/ptp/
Dtestptp.c314 if (clock_gettime(clkid, &ts)) { in main()
323 clock_gettime(CLOCK_REALTIME, &ts); in main()
332 clock_gettime(clkid, &ts); in main()
439 if (clock_gettime(clkid, &ts)) { in main()
Dptp.txt45 clock_gettime, clock_settime, and clock_adjtime. These calls
/linux-4.4.14/tools/testing/selftests/vm/
Dtranshuge-stress.c108 clock_gettime(CLOCK_MONOTONIC, &a); in main()
136 clock_gettime(CLOCK_MONOTONIC, &b); in main()
/linux-4.4.14/arch/x86/entry/vdso/
Dvdso.lds.S19 clock_gettime;
Dvclock_gettime.c305 int clock_gettime(clockid_t, struct timespec *)
/linux-4.4.14/arch/x86/um/vdso/
Dvdso.lds.S20 clock_gettime;
Dum_vdso.c28 int clock_gettime(clockid_t, struct timespec *)
/linux-4.4.14/samples/bpf/
Dtracex4_user.c27 clock_gettime(CLOCK_MONOTONIC, &ts); in time_get_ns()
Dtrace_output_user.c122 clock_gettime(CLOCK_MONOTONIC, &ts); in time_get_ns()
/linux-4.4.14/tools/perf/
Dperf.h28 clock_gettime(CLOCK_MONOTONIC, &ts); in rdclock()
Dbuiltin-stat.c241 clock_gettime(CLOCK_MONOTONIC, &ts); in process_interval()
351 clock_gettime(CLOCK_MONOTONIC, &ref_time); in __run_perf_stat()
1286 clock_gettime(CLOCK_REALTIME, &tm); in cmd_stat()
Dbuiltin-sched.c182 clock_gettime(CLOCK_MONOTONIC, &ts); in get_nsecs()
/linux-4.4.14/arch/tile/kernel/vdso/
Dvdso.lds.S86 clock_gettime;
Dvgettimeofday.c197 int clock_gettime(clockid_t clock, struct timespec *ts)
/linux-4.4.14/include/linux/
Dposix-clock.h62 int (*clock_gettime)(struct posix_clock *pc, struct timespec *ts); member
/linux-4.4.14/arch/s390/kernel/vdso64/
DMakefile3 obj-vdso64 = gettimeofday.o clock_getres.o clock_gettime.o note.o
/linux-4.4.14/arch/s390/kernel/vdso32/
DMakefile3 obj-vdso32 = gettimeofday.o clock_getres.o clock_gettime.o note.o
/linux-4.4.14/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.c1027 SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
/linux-4.4.14/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c296 ret = clock_gettime(CLOCK_MONOTONIC, &ts); in unit_test()
/linux-4.4.14/drivers/ptp/
Dptp_clock.c169 .clock_gettime = ptp_clock_gettime,
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c788 if (clock_gettime(CLOCK_REALTIME, &time) == -1) { in acpi_os_wait_semaphore()
/linux-4.4.14/arch/parisc/kernel/
Dsyscall_table.S354 ENTRY_COMP(clock_gettime)
/linux-4.4.14/arch/powerpc/include/asm/
Dsystbl.h253 COMPAT_SYS_SPU(clock_gettime)
/linux-4.4.14/arch/x86/entry/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.4.14/tools/perf/Documentation/
Dperf-record.txt297 records. See clock_gettime(). In particular CLOCK_MONOTONIC and
/linux-4.4.14/kernel/
Dcompat.c757 COMPAT_SYSCALL_DEFINE2(clock_gettime, clockid_t, which_clock, in COMPAT_SYSCALL_DEFINE2() argument
/linux-4.4.14/arch/arm/mm/
DKconfig844 clock_gettime. Systems that implement the ARM architected