/external/python/cpython3/Include/ |
pytime.h | 144 /* 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:__anon33187 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/ |
s-c.c | 106 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_wait/ |
2-2.c | 89 #define USE_ALTCLK /* make tests with MONOTONIC CLOCK if supported */ 110 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) 304 ("Implementation supports the MONOTONIC CLOCK but option is disabled in test.\n"); 430 "[parent] Unable to set the monotonic clock for the cond"); 433 output("[parent] Cond uses the Monotonic clock\n") [all...] |
/system/core/logd/ |
LogBuffer.h | 37 // We are either in 1970ish (MONOTONIC) or 2016+ish (REALTIME) so to 39 // is likely monotonic, later is real. Otherwise we start using a 40 // dividing line between monotonic and realtime if more than a minute 60 /* no way to differentiate realtime from monotonic time */ 66 /* too close to call to differentiate monotonic times from realtime */ 71 /* dividing line half way between monotonic and realtime */ 99 bool monotonic; member in class:LogBuffer 114 return monotonic;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
2-3.c | 77 #define USE_ALTCLK /* make tests with MONOTONIC CLOCK if supported */ 255 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) 294 output("Implementation supports the MONOTONIC CLOCK " 399 "monotonic clock for the cond");
|
1-2.c | 92 #define USE_ALTCLK /* make tests with MONOTONIC CLOCK if supported */ 307 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) 351 output("Implementation supports the MONOTONIC CLOCK " 468 "monotonic clock for the cond");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/ |
2-1.c | 106 #define USE_ALTCLK /* test with MONOTONIC CLOCK if supported */ 125 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) 380 ("Implementation supports the MONOTONIC CLOCK but option is disabled in test.\n"); 492 "[parent] Unable to set the monotonic clock for the cond");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
1-2.c | 105 #define USE_ALTCLK /* make tests with MONOTONIC CLOCK if supported */ 124 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) 338 ("Implementation supports the MONOTONIC CLOCK but option is disabled in test.\n"); 450 "[parent] Unable to set the monotonic clock for the cond");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
2-4.c | 64 #define USE_ALTCLK /* make tests with MONOTONIC CLOCK if supported */ 82 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) 290 ("Implementation supports the MONOTONIC CLOCK but option is disabled in test.\n"); 416 "[parent] Unable to set the monotonic clock for the cond"); 419 output("[parent] Cond uses the Monotonic clock\n") [all...] |
2-7.c | 66 #define USE_ALTCLK /* make tests with MONOTONIC CLOCK if supported */ 84 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) 296 ("Implementation supports the MONOTONIC CLOCK but option is disabled in test.\n"); 421 "[parent] Unable to set the monotonic clock for the cond"); 424 output("[parent] Cond uses the Monotonic clock\n") [all...] |
4-2.c | 67 #define USE_ALTCLK /* make tests with MONOTONIC CLOCK if supported */ 82 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) 247 ("Implementation supports the MONOTONIC CLOCK but option is disabled in test.\n"); 382 "[parent] Unable to set the monotonic clock for the cond"); 386 ("[parent] Cond uses the Monotonic clock\n") [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
stress1.c | 116 #define USE_ALTCLK /* make tests with MONOTONIC CLOCK if supported */ 135 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) 437 ("Implementation supports the MONOTONIC CLOCK but option is disabled in test.\n"); 570 "[parent] Unable to set the monotonic clock for the cond"); 573 output("[parent] Cond uses the Monotonic clock\n") [all...] |
stress2.c | 91 #define USE_ALTCLK /* make tests with MONOTONIC CLOCK if supported */ 110 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) 464 ("Implementation supports the MONOTONIC CLOCK but option is disabled in test.\n"); 531 "[parent] Unable to set the monotonic clock for the cond"); 534 output("[parent] Cond uses the Monotonic clock\n") [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
stress.c | 91 #define USE_ALTCLK /* make tests with MONOTONIC CLOCK if supported */ 110 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) 464 ("Implementation supports the MONOTONIC CLOCK but option is disabled in test.\n"); 531 "[parent] Unable to set the monotonic clock for the cond"); 534 output("[parent] Cond uses the Monotonic clock\n") [all...] |
stress1.c | 117 #define USE_ALTCLK /* make tests with MONOTONIC CLOCK if supported */ 136 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) 422 ("Implementation supports the MONOTONIC CLOCK but option is disabled in test.\n"); 555 "[parent] Unable to set the monotonic clock for the cond"); 558 output("[parent] Cond uses the Monotonic clock\n") [all...] |
stress2.c | 91 #define USE_ALTCLK /* make tests with MONOTONIC CLOCK if supported */ 110 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) 464 ("Implementation supports the MONOTONIC CLOCK but option is disabled in test.\n"); 531 "[parent] Unable to set the monotonic clock for the cond"); 534 output("[parent] Cond uses the Monotonic clock\n") [all...] |
/frameworks/av/include/media/ |
Interpolator.h | 47 INTERPOLATOR_TYPE_CUBIC_MONOTONIC, // C1 (to provide locally monotonic curves) 115 // you could have catmullRom with monotonic or 118 bool monotonic, catmullRom; local 120 monotonic = true; 123 monotonic = false; 128 // monotonic computation. 132 if (!catmullRom || monotonic) { 159 if (monotonic) { 286 // we require that the points be specified monotonic in x. 319 slope = std::max(slope, S(0)); // not globally monotonic [all...] |
/external/python/cpython3/Modules/ |
signalmodule.c | 1032 _PyTime_t timeout, deadline, monotonic; local 1070 monotonic = _PyTime_GetMonotonicClock(); 1071 timeout = deadline - monotonic; [all...] |
timemodule.c | 73 info->monotonic = 1; 107 info->monotonic = 1; 914 "monotonic() -> float\n\ 916 Monotonic clock, cannot go backward."); 963 info->monotonic = 1; 992 info->monotonic = 1; 1010 info->monotonic = 1; 1039 info->monotonic = 1; 1077 info.monotonic = -1; 1082 info.monotonic = 0 1419 _PyTime_t deadline, monotonic; local [all...] |
/system/core/liblog/ |
logprint.c | 326 else if (!strcmp(formatString, "monotonic")) format = FORMAT_MODIFIER_MONOTONIC; 696 * s: Number of seconds (monotonic time) 1343 struct timespec monotonic; local [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
SPUISelLowering.cpp | 1844 bool monotonic = true; local [all...] |