Home
last modified time | relevance | path

Searched refs:CLOCK_MONOTONIC (Results 1 – 24 of 24) sorted by relevance

/tools/testing/selftests/powerpc/benchmarks/
Dmmap_bench.c22 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_mmap()
31 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_mmap()
Dfutex_bench.c25 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_futex()
32 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_futex()
/tools/build/feature/
Dtest-timerfd.c10 int fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in main()
/tools/testing/selftests/timers/
Dmqueue-lat.c86 clock_gettime(CLOCK_MONOTONIC, &start); in mqueue_lat_test()
101 clock_gettime(CLOCK_MONOTONIC, &end); in mqueue_lat_test()
Dadjtick.c86 clock_gettime(CLOCK_MONOTONIC, mon); in get_monotonic_and_raw()
93 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw()
95 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
Dnanosleep.c46 #define CLOCK_MONOTONIC 1 macro
66 case CLOCK_MONOTONIC: in clockstring()
Dalarmtimer-suspend.c45 #define CLOCK_MONOTONIC 1 macro
73 case CLOCK_MONOTONIC: in clockstring()
Dnsleep-lat.c46 #define CLOCK_MONOTONIC 1 macro
66 case CLOCK_MONOTONIC: in clockstring()
Draw_skew.c90 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw()
92 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
Dthreadtest.c104 clock_gettime(CLOCK_MONOTONIC, &global_list[listcount++]); in shared_thread()
123 clock_gettime(CLOCK_MONOTONIC, &my_list[count]); in independent_thread()
Dinconsistency-check.c48 #define CLOCK_MONOTONIC 1 macro
66 case CLOCK_MONOTONIC: in clockstring()
Dset-timer-lat.c44 #define CLOCK_MONOTONIC 1 macro
72 case CLOCK_MONOTONIC: in clockstring()
Dleap-a-day.c367 clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, NULL); in main()
/tools/testing/selftests/vm/
Dtranshuge-stress.c108 clock_gettime(CLOCK_MONOTONIC, &a); in main()
136 clock_gettime(CLOCK_MONOTONIC, &b); in main()
/tools/perf/
Dperf.h21 clock_gettime(CLOCK_MONOTONIC, &ts); in rdclock()
Dbuiltin-record.c1243 CLOCKID_MAP("monotonic", CLOCK_MONOTONIC),
1252 CLOCKID_MAP("mono", CLOCK_MONOTONIC),
Dbuiltin-stat.c362 clock_gettime(CLOCK_MONOTONIC, &ts); in process_interval()
652 clock_gettime(CLOCK_MONOTONIC, &ref_time); in __run_perf_stat()
Dbuiltin-kvm.c816 kvm->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in perf_kvm__timerfd_create()
Dbuiltin-sched.c201 clock_gettime(CLOCK_MONOTONIC, &ts); in get_nsecs()
/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c296 ret = clock_gettime(CLOCK_MONOTONIC, &ts); in unit_test()
/tools/perf/jvmti/
Djvmti_agent.c107 static int perf_clk_id = CLOCK_MONOTONIC;
/tools/perf/util/
Djitdump.c113 if (evsel->attr.use_clockid == 0 || evsel->attr.clockid != CLOCK_MONOTONIC) in jit_validate_events()
Devsel.c1440 evsel->attr.clockid = CLOCK_MONOTONIC; /* should always work */ in __perf_evsel__open()
/tools/perf/Documentation/
Dperf-record.txt377 records. See clock_gettime(). In particular CLOCK_MONOTONIC and