/third_party/python/Lib/test/ |
D | _test_eintr.py | 372 t0 = time.monotonic() 375 dt = time.monotonic() - t0 406 t0 = time.monotonic() 410 dt = time.monotonic() - t0 436 t0 = time.monotonic() 438 dt = time.monotonic() - t0 448 t0 = time.monotonic() 450 dt = time.monotonic() - t0 459 t0 = time.monotonic() 461 dt = time.monotonic() - t0 [all …]
|
D | test_epoll.py | 172 now = time.monotonic() 174 then = time.monotonic() 189 now = time.monotonic() 191 then = time.monotonic() 201 now = time.monotonic() 203 then = time.monotonic() 220 now = time.monotonic() 222 then = time.monotonic()
|
D | test_threadsignals.py | 98 t1 = time.monotonic() 100 dt = time.monotonic() - t1 139 t1 = time.monotonic() 141 dt = time.monotonic() - t1 206 self.start = time.monotonic() 208 self.end = time.monotonic()
|
D | test_zipfile64.py | 46 next_time = time.monotonic() + _PRINT_WORKING_MSG_INTERVAL 50 if next_time <= time.monotonic(): 51 next_time = time.monotonic() + _PRINT_WORKING_MSG_INTERVAL 62 if next_time <= time.monotonic(): 63 next_time = time.monotonic() + _PRINT_WORKING_MSG_INTERVAL
|
D | test_wait4.py | 23 deadline = time.monotonic() + support.SHORT_TIMEOUT 24 while time.monotonic() <= deadline:
|
D | lock_tests.py | 201 t1 = time.monotonic() 203 t2 = time.monotonic() 208 t1 = time.monotonic() 210 t2 = time.monotonic() 413 t1 = time.monotonic() 415 t2 = time.monotonic() 577 t1 = time.monotonic() 579 t2 = time.monotonic() 616 dt = time.monotonic() 618 dt = time.monotonic() - dt [all …]
|
D | test_wait3.py | 23 deadline = time.monotonic() + support.SHORT_TIMEOUT 24 while time.monotonic() <= deadline:
|
/third_party/python/Lib/test/support/ |
D | threading_helper.py | 89 start_time = time.monotonic() 95 if time.monotonic() > deadline: 96 dt = time.monotonic() - start_time 137 endtime = time.monotonic() 141 t.join(max(endtime - time.monotonic(), 0.01))
|
/third_party/glfw/src/ |
D | posix_time.c | 47 _glfw.posix_time.monotonic = GLFW_TRUE; in _glfwInitTimerPOSIX() 53 _glfw.posix_time.monotonic = GLFW_FALSE; in _glfwInitTimerPOSIX() 66 if (_glfw.posix_time.monotonic) in _glfwPlatformGetTimerValue()
|
/third_party/pulseaudio/src/pulsecore/ |
D | time-smoother.c | 82 bool monotonic:1; member 94 bool monotonic, in pa_smoother_new() argument 111 s->monotonic = monotonic; in pa_smoother_new() 241 return (s->monotonic && r < 0) ? 0 : r; in avg_gradient() 338 if (s->monotonic) { in estimate() 401 if (s->monotonic) in pa_smoother_get() 407 if (s->monotonic) { in pa_smoother_get()
|
/third_party/python/Modules/ |
D | timemodule.c | 148 info->monotonic = 1; in _PyTime_GetClockWithInfo() 1204 info->monotonic = 1; 1241 info->monotonic = 1; 1267 info->monotonic = 1; 1323 info->monotonic = 1; 1397 info->monotonic = 1; 1431 info->monotonic = 1; 1449 info->monotonic = 1; 1482 info->monotonic = 1; 1560 info.monotonic = -1; [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/ |
D | s-c.c | 101 long monotonic, pshared; in main() local 104 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 107 output("Support for monotonic clock : %li\n", monotonic); in main() 149 if ((monotonic > 0) && ((i == 2) || (i == 3))) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
D | 2-2.c | 270 long pshared, monotonic, cs, mf; in main() local 276 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 284 output(" MON : %li\n", monotonic); in main() 288 if ((cs < 0) || (monotonic < 0)) in main() 293 if (monotonic < 0) in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
D | 2-7.c | 261 long pshared, monotonic, cs, mf; in main() local 269 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 277 output(" MON : %li\n", monotonic); in main() 281 if ((cs < 0) || (monotonic < 0)) in main() 286 if (monotonic < 0) in main()
|
D | 2-4.c | 254 long pshared, monotonic, cs, mf; in main() local 260 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 268 output(" MON : %li\n", monotonic); in main() 272 if ((cs < 0) || (monotonic < 0)) in main() 277 if (monotonic < 0) in main()
|
D | 4-2.c | 209 long pshared, monotonic, cs, mf; in main() local 214 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 222 output(" MON : %li\n", monotonic); in main() 226 if ((cs < 0) || (monotonic < 0)) in main() 232 if (monotonic < 0) in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
D | stress2.c | 430 long pshared, monotonic, cs; in main() local 439 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 446 output(" MON : %li\n", monotonic); in main() 447 if ((cs < 0) || (monotonic < 0)) in main() 451 if (monotonic < 0) in main()
|
D | stress1.c | 383 long pshared, monotonic, cs, mf; in main() local 391 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 399 output(" MON : %li\n", monotonic); in main() 403 if ((cs < 0) || (monotonic < 0)) in main() 408 if (monotonic < 0) in main()
|
D | stress.c | 430 long pshared, monotonic, cs; in main() local 439 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 446 output(" MON : %li\n", monotonic); in main() 447 if ((cs < 0) || (monotonic < 0)) in main() 451 if (monotonic < 0) in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
D | 1-2.c | 291 long pshared, monotonic, cs, mf; in main() local 308 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 316 output(" MON : %li\n", monotonic); in main() 320 if ((cs < 0) || (monotonic < 0)) in main() 325 if (monotonic < 0) in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
D | stress2.c | 421 long pshared, monotonic, cs; in main() local 430 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 437 output(" MON : %li\n", monotonic); in main() 438 if ((cs < 0) || (monotonic < 0)) in main() 442 if (monotonic < 0) in main()
|
D | stress1.c | 389 long pshared, monotonic, cs, mf; in main() local 397 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 405 output(" MON : %li\n", monotonic); in main() 409 if ((cs < 0) || (monotonic < 0)) in main() 414 if (monotonic < 0) in main()
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_asyncio_waitfor.py | 17 exitat = time.monotonic() + self.TASK_TIMEOUT 20 tosleep = exitat - time.monotonic()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
D | 2-3.c | 249 long pshared, monotonic, cs, mf; in main() local 267 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 275 output(" MON : %li\n", monotonic); in main() 279 if ((cs < 0) || (monotonic < 0)) in main() 283 if (monotonic < 0) in main()
|
/third_party/python/Python/ |
D | pytime.c | 679 info->monotonic = 0; in py_get_system_clock() 722 info->monotonic = 0; in py_get_system_clock() 755 info->monotonic = 0; in py_get_system_clock() 865 info->monotonic = 1; in py_get_monotonic_clock() 888 info->monotonic = 1; in py_get_monotonic_clock() 911 info->monotonic = 1; in py_get_monotonic_clock() 937 info->monotonic = 1; in py_get_monotonic_clock() 1036 info->monotonic = 1; in py_get_win_perf_counter()
|