| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
| H A D | getcpuclockid.c | 15 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 D | fdr_controller_test.cpp | 58 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 D | thread_timedjoin.c | 26 clock_gettime(CLOCK_REALTIME, &ts); in main() 29 clock_gettime(CLOCK_REALTIME, &ts); in main()
|
| H A D | clockwait_double_lock.c | 25 clock_gettime(CLOCK_MONOTONIC, &ts); in main()
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | time-intrinsic.cpp | 78 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 D | cond_version.c | 29 clock_gettime(CLOCK_MONOTONIC, &ts0); in main() 39 clock_gettime(CLOCK_MONOTONIC, &ts2); in main()
|
| H A D | bench.h | 22 clock_gettime(CLOCK_MONOTONIC, &tp0); in main() 25 clock_gettime(CLOCK_MONOTONIC, &tp1); in main()
|
| H A D | test.h | 66 clock_gettime(CLOCK_MONOTONIC, &t); in monotonic_clock_ns()
|
| /llvm-project-15.0.7/libcxx/src/ |
| H A D | chrono.cpp | 123 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 D | clock_gettime.c | 9 clock_gettime(CLOCK_REALTIME, &ts); in main()
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | timers.cc | 132 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 D | cycleclock.h | 139 clock_gettime(CLOCK_MONOTONIC, &ts); in Now()
|
| /llvm-project-15.0.7/compiler-rt/lib/xray/ |
| H A D | xray_tsc.h | 70 int result = clock_gettime(CLOCK_REALTIME, &TS); in readTSC()
|
| H A D | xray_basic_logging.cpp | 309 int result = clock_gettime(CLOCK_REALTIME, &TS); in basicLoggingHandleArg0EmulateTSC() 329 int result = clock_gettime(CLOCK_REALTIME, &TS); in basicLoggingHandleArg1EmulateTSC()
|
| H A D | xray_fdr_logging.cpp | 432 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 D | trusty.cpp | 81 clock_gettime(CLOCK_MONOTONIC, &TS); in getMonotonicTime()
|
| H A D | linux.cpp | 132 clock_gettime(CLOCK_MONOTONIC, &TS); in getMonotonicTime()
|
| /llvm-project-15.0.7/compiler-rt/lib/memprof/ |
| H A D | memprof_rtl.cpp | 219 clock_gettime(CLOCK_REALTIME, &ts); in MemprofInitTime()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/scripts/ |
| H A D | global_symbols.txt | 60 clock_gettime U
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_solaris.cpp | 217 return clock_gettime(clk_id, (timespec *)tp); in internal_clock_gettime()
|
| H A D | sanitizer_linux_libcdep.cpp | 913 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 D | chksum.c | 128 clock_gettime(CLOCK_MONOTONIC, &ts); in clock_get_ns()
|
| /llvm-project-15.0.7/libcxx/cmake/ |
| H A D | config-ix.cmake | 126 check_library_exists(rt clock_gettime "" LIBCXX_HAS_RT_LIB)
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | std-c-library-functions-POSIX.c | 268 int clock_gettime(clockid_t clock_id, struct timespec *tp);
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| H A D | PerfJITEventListener.cpp | 171 ret = clock_gettime(CLOCK_MONOTONIC, &ts); in perf_get_timestamp()
|