Searched defs:monotonic (Results 1 - 21 of 21) sorted by relevance

/external/python/cpython3/Include/
H A Dpytime.h144 /* Get the time of a monotonic clock, i.e. a clock that cannot go backwards.
149 The function cannot fail. _PyTime_Init() ensures that a monotonic clock
157 int monotonic; member in struct:__anon19855
170 /* Get the time of a monotonic clock, i.e. a clock that cannot go backwards.
/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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
H A D2-3.c255 long pshared, monotonic, cs, mf; local
273 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
281 output(" MON : %li\n", monotonic);
285 if ((cs < 0) || (monotonic < 0))
289 if (monotonic < 0)
399 "monotonic clock for the cond");
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");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/
H A D2-1.c125 int c_clock; /* 0: cond uses the default clock. ~ !0: Cond uses monotonic clock, if supported. */
340 long pshared, monotonic, cs, mf; local
357 monotonic = sysconf(_SC_MONOTONIC_CLOCK);
365 output(" MON : %li\n", monotonic);
369 if ((cs < 0) || (monotonic < 0))
374 if (monotonic < 0)
492 "[parent] Unable to set the monotonic clock for the cond");
/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 Dsignalmodule.c1032 _PyTime_t timeout, deadline, monotonic; local
1070 monotonic = _PyTime_GetMonotonicClock();
1071 timeout = deadline - monotonic;
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/swiftshader/third_party/LLVM/lib/Target/CellSPU/
H A DSPUISelLowering.cpp1844 bool monotonic = true; local
1870 if (monotonic) {
1872 // TODO: optimize for the monotonic case when several consecutive
1877 monotonic = false;
1880 monotonic = false;
1905 if (EltsFromV2 == 1 && monotonic) {
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 818 milliseconds