Searched refs:monotonic (Results 1 - 25 of 55) sorted by relevance

123

/external/autotest/client/site_tests/platform_TraceClockMonotonic/src/
H A DMakefile1 EXEC=ftrace-clock-monotonic
8 $(EXEC): ftrace-clock-monotonic.c
/external/clang/test/OpenMP/
H A Dschedule_codegen.cpp69 #pragma omp for schedule(monotonic: static)
74 #pragma omp for simd schedule(monotonic: static)
79 #pragma omp for schedule(monotonic: static, 2)
84 #pragma omp for simd schedule(monotonic: static, 2)
88 #pragma omp for schedule(monotonic: auto)
92 #pragma omp for simd schedule(monotonic: auto)
96 #pragma omp for schedule(monotonic: runtime)
100 #pragma omp for simd schedule(monotonic: runtime)
104 #pragma omp for schedule(monotonic: guided)
108 #pragma omp for simd schedule(monotonic
[all...]
H A Dfor_schedule_messages.cpp16 #pragma omp for schedule ( // expected-error {{expected 'static', 'dynamic', 'guided', 'auto', 'runtime', 'monotonic', 'nonmonotonic' or 'simd' in OpenMP clause 'schedule'}} expected-error {{expected ')'}} expected-note {{to match this '('}}
18 #pragma omp for schedule () // expected-error {{expected 'static', 'dynamic', 'guided', 'auto', 'runtime', 'monotonic', 'nonmonotonic' or 'simd' in OpenMP clause 'schedule'}}
22 #pragma omp for schedule (monotonic // expected-error {{expected ')'}} expected-error {{expected 'static', 'dynamic', 'guided', 'auto' or 'runtime' in OpenMP clause 'schedule'}} expected-warning {{missing ':' after schedule modifier - ignoring}} expected-note {{to match this '('}}
24 #pragma omp for schedule (auto_dynamic // expected-error {{expected 'static', 'dynamic', 'guided', 'auto', 'runtime', 'monotonic', 'nonmonotonic' or 'simd' in OpenMP clause 'schedule'}} expected-error {{expected ')'}} expected-note {{to match this '('}}
30 #pragma omp for schedule (monotonic, auto // expected-error {{expected ')'}} expected-warning {{missing ':' after schedule modifier - ignoring}} expected-error {{expected 'simd' in OpenMP clause 'schedule'}} expected-note {{to match this '('}}
67 #pragma omp for schedule (monotonic, nonmonotonic: auto) // expected-error {{modifier 'nonmonotonic' cannot be used along with modifier 'monotonic'}}
69 #pragma omp for schedule (nonmonotonic, monotonic: auto) // expected-error {{modifier 'monotonic' cannot be used along with modifier 'nonmonotonic'}}
73 #pragma omp for schedule (monotonic, monotoni
[all...]
/external/python/cpython3/Lib/test/
H A Dtest_wait3.py21 deadline = time.monotonic() + 10.0
22 while time.monotonic() <= deadline:
H A Dtest_wait4.py23 deadline = time.monotonic() + 10.0
24 while time.monotonic() <= deadline:
H A Dfork_wait.py52 deadline = time.monotonic() + 10.0
55 if deadline < time.monotonic():
H A Dsignalinterproctester.py32 deadline = time.monotonic() + timeout
34 while time.monotonic() < deadline:
H A Dtest_epoll.py165 now = time.monotonic()
167 then = time.monotonic()
183 now = time.monotonic()
185 then = time.monotonic()
197 now = time.monotonic()
199 then = time.monotonic()
216 now = time.monotonic()
218 then = time.monotonic()
H A Dtest_fork1.py22 deadline = time.monotonic() + 10.0
23 while time.monotonic() <= deadline:
/external/python/cpython3/Lib/test/eintrdata/
H A Deintr_tester.py366 t0 = time.monotonic()
369 dt = time.monotonic() - t0
380 t0 = time.monotonic()
382 dt = time.monotonic() - t0
413 t0 = time.monotonic()
423 dt = time.monotonic() - t0
434 t0 = time.monotonic()
436 dt = time.monotonic() - t0
446 t0 = time.monotonic()
448 dt = time.monotonic()
[all...]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/
H A Ds-c.c106 long monotonic, pshared; local
109 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
112 output("Support for monotonic clock : %li\n", monotonic);
144 * pca[3] = (if supported) monotonic clock cond attribute
145 * pca[4] = (if supported) pshared + monotonic
154 if ((monotonic > 0) && ((i == 2) || (i == 3))) {
160 "Set monotonic clock failed");
/external/python/cpython3/Lib/test/libregrtest/
H A Druntest_mp.py120 self.start_time = time.monotonic()
172 dt = time.monotonic() - worker.start_time
232 wait_start = time.monotonic()
239 dt = time.monotonic() - wait_start
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
H A D1-2.c124 int c_clock; /* 0: cond uses the default clock. ~ !0: Cond uses monotonic clock, if supported. */
298 long pshared, monotonic, cs, mf; local
315 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
323 output(" MON : %li\n", monotonic);
327 if ((cs < 0) || (monotonic < 0))
332 if (monotonic < 0)
450 "[parent] Unable to set the monotonic clock for the cond");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
H A D2-4.c82 int c_clock; /* 0: cond uses the default clock. ~ !0: Cond uses monotonic clock, if supported. */
262 long pshared, monotonic, cs, mf; local
267 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
275 output(" MON : %li\n", monotonic);
279 if ((cs < 0) || (monotonic < 0))
284 if (monotonic < 0)
416 "[parent] Unable to set the monotonic clock for the cond");
H A D2-7.c84 int c_clock; /* 0: cond uses the default clock. ~ !0: Cond uses monotonic clock, if supported. */
269 long pshared, monotonic, cs, mf; local
274 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
282 output(" MON : %li\n", monotonic);
286 if ((cs < 0) || (monotonic < 0))
291 if (monotonic < 0)
421 "[parent] Unable to set the monotonic clock for the cond");
H A D4-2.c82 int c_clock; /* 0: cond uses the default clock. ~ !0: Cond uses monotonic clock, if supported. */
218 long pshared, monotonic, cs, mf; local
223 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
231 output(" MON : %li\n", monotonic);
235 if ((cs < 0) || (monotonic < 0))
241 if (monotonic < 0)
382 "[parent] Unable to set the monotonic clock for the cond");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
H A D2-2.c110 int c_clock; /* 0: cond uses the default clock. ~ !0: Cond uses monotonic clock, if supported. */
276 long pshared, monotonic, cs, mf; local
281 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
289 output(" MON : %li\n", monotonic);
293 if ((cs < 0) || (monotonic < 0))
298 if (monotonic < 0)
430 "[parent] Unable to set the monotonic clock for the cond");
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
H A Dstress1.c135 int c_clock; /* 0: cond uses the default clock. ~ !0: Cond uses monotonic clock, if supported. */
406 long pshared, monotonic, cs, mf; local
414 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
422 output(" MON : %li\n", monotonic);
426 if ((cs < 0) || (monotonic < 0))
431 if (monotonic < 0)
570 "[parent] Unable to set the monotonic clock for the cond");
H A Dstress2.c110 int c_clock; /* 0: cond uses the default clock. ~ !0: Cond uses monotonic clock, if supported. */
437 long pshared, monotonic, cs; local
446 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
453 output(" MON : %li\n", monotonic);
454 if ((cs < 0) || (monotonic < 0))
458 if (monotonic < 0)
531 "[parent] Unable to set the monotonic clock for the cond");
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
H A Dstress.c110 int c_clock; /* 0: cond uses the default clock. ~ !0: Cond uses monotonic clock, if supported. */
437 long pshared, monotonic, cs; local
446 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
453 output(" MON : %li\n", monotonic);
454 if ((cs < 0) || (monotonic < 0))
458 if (monotonic < 0)
531 "[parent] Unable to set the monotonic clock for the cond");
H A Dstress1.c136 int c_clock; /* 0: cond uses the default clock. ~ !0: Cond uses monotonic clock, if supported. */
391 long pshared, monotonic, cs, mf; local
399 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
407 output(" MON : %li\n", monotonic);
411 if ((cs < 0) || (monotonic < 0))
416 if (monotonic < 0)
555 "[parent] Unable to set the monotonic clock for the cond");
H A Dstress2.c110 int c_clock; /* 0: cond uses the default clock. ~ !0: Cond uses monotonic clock, if supported. */
437 long pshared, monotonic, cs; local
446 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
453 output(" MON : %li\n", monotonic);
454 if ((cs < 0) || (monotonic < 0))
458 if (monotonic < 0)
531 "[parent] Unable to set the monotonic clock for the cond");
/external/python/cpython3/Modules/
H A Dtimemodule.c73 info->monotonic = 1;
107 info->monotonic = 1;
914 "monotonic() -> float\n\
963 info->monotonic = 1;
992 info->monotonic = 1;
1010 info->monotonic = 1;
1039 info->monotonic = 1;
1077 info.monotonic = -1;
1082 info.monotonic = 0;
1093 else if (strcmp(name, "monotonic")
1419 _PyTime_t deadline, monotonic; local
[all...]
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
H A Dtrace_time_unittest.py89 self.assertGreater(trace_time.monotonic(), 0)
97 self.assertGreater(trace_time.monotonic(), 0)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
H A D1-2.c307 long pshared, monotonic, cs, mf; local
329 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
337 output(" MON : %li\n", monotonic);
341 if ((cs < 0) || (monotonic < 0))
346 if (monotonic < 0)
468 "monotonic clock for the cond");

Completed in 407 milliseconds

123