Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dgetcpuclockid.c15 res = clock_gettime(clk, &ts); in cpu_ns()
25 res = clock_gettime(clk, &ts); in th_cpu_ns()
/llvm-project-15.0.7/compiler-rt/lib/xray/tests/unit/
H A Dfdr_controller_test.cpp58 C = std::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 0); in SetUp()
106 C = std::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
121 C = std::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
141 C = std::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
166 C = std::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
190 C = std::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
217 C = std::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
251 C = std::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
312 C = std::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 0); in SetUp()
/llvm-project-15.0.7/compiler-rt/test/tsan/Linux/
H A Dthread_timedjoin.c26 clock_gettime(CLOCK_REALTIME, &ts); in main()
29 clock_gettime(CLOCK_REALTIME, &ts); in main()
H A Dclockwait_double_lock.c25 clock_gettime(CLOCK_MONOTONIC, &ts); in main()
/llvm-project-15.0.7/flang/runtime/
H A Dtime-intrinsic.cpp78 decltype(clock_gettime(ClockId, Timespec)) *Enabled = nullptr) { in GetCpuTime()
80 if (clock_gettime(CLOCKID, &tspec) == 0) { in GetCpuTime()
148 decltype(clock_gettime(ClockId, Timespec)) *Enabled = nullptr) { in GetSystemClockCount()
151 if (clock_gettime(CLOCKID, &tspec) != 0) { in GetSystemClockCount()
170 decltype(clock_gettime(ClockId, Timespec)) *Enabled = nullptr) { in GetSystemClockCountRate()
178 decltype(clock_gettime(ClockId, Timespec)) *Enabled = nullptr) { in GetSystemClockCountMax()
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dcond_version.c29 clock_gettime(CLOCK_MONOTONIC, &ts0); in main()
39 clock_gettime(CLOCK_MONOTONIC, &ts2); in main()
H A Dbench.h22 clock_gettime(CLOCK_MONOTONIC, &tp0); in main()
25 clock_gettime(CLOCK_MONOTONIC, &tp1); in main()
H A Dtest.h66 clock_gettime(CLOCK_MONOTONIC, &t); in monotonic_clock_ns()
/llvm-project-15.0.7/libcxx/src/
H A Dchrono.cpp123 if (0 != clock_gettime(CLOCK_REALTIME, &tp))
230 if (0 != clock_gettime(CLOCK_MONOTONIC_RAW, &tp)) in __libcpp_steady_clock_now()
288 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) in __libcpp_steady_clock_now()
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Dclock_gettime.c9 clock_gettime(CLOCK_REALTIME, &ts); in main()
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dtimers.cc132 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &spec) == 0) in ProcessCPUUsage()
177 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) == 0) return MakeTime(ts); in ThreadCPUUsage()
H A Dcycleclock.h139 clock_gettime(CLOCK_MONOTONIC, &ts); in Now()
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_tsc.h70 int result = clock_gettime(CLOCK_REALTIME, &TS); in readTSC()
H A Dxray_basic_logging.cpp309 int result = clock_gettime(CLOCK_REALTIME, &TS); in basicLoggingHandleArg0EmulateTSC()
329 int result = clock_gettime(CLOCK_REALTIME, &TS); in basicLoggingHandleArg1EmulateTSC()
H A Dxray_fdr_logging.cpp432 int result = clock_gettime(CLOCK_REALTIME, &TS); in getTimestamp()
485 FDRController<>(TLD.BQ, TLD.Buffer, *TLD.Writer, clock_gettime, in setupTLD()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dtrusty.cpp81 clock_gettime(CLOCK_MONOTONIC, &TS); in getMonotonicTime()
H A Dlinux.cpp132 clock_gettime(CLOCK_MONOTONIC, &TS); in getMonotonicTime()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_rtl.cpp219 clock_gettime(CLOCK_REALTIME, &ts); in MemprofInitTime()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dglobal_symbols.txt60 clock_gettime U
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.cpp217 return clock_gettime(clk_id, (timespec *)tp); in internal_clock_gettime()
H A Dsanitizer_linux_libcdep.cpp913 clock_gettime(CLOCK_MONOTONIC, &ts); in MonotonicNanoTime()
923 clock_gettime(CLOCK_MONOTONIC, &ts); in MonotonicNanoTime()
/llvm-project-15.0.7/libc/AOR_v20.02/networking/test/
H A Dchksum.c128 clock_gettime(CLOCK_MONOTONIC, &ts); in clock_get_ns()
/llvm-project-15.0.7/libcxx/cmake/
H A Dconfig-ix.cmake126 check_library_exists(rt clock_gettime "" LIBCXX_HAS_RT_LIB)
/llvm-project-15.0.7/clang/test/Analysis/
H A Dstd-c-library-functions-POSIX.c268 int clock_gettime(clockid_t clock_id, struct timespec *tp);
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp171 ret = clock_gettime(CLOCK_MONOTONIC, &ts); in perf_get_timestamp()

12