HomeSort by relevance Sort by last modified time
    Searched refs:monotonic (Results 1 - 25 of 34) sorted by null

1 2

  /external/autotest/client/site_tests/platform_TraceClockMonotonic/src/
Makefile 1 EXEC=ftrace-clock-monotonic
8 $(EXEC): ftrace-clock-monotonic.c
  /build/tools/releasetools/
test_rangelib.py 114 self.assertTrue(RangeSet("0-9").monotonic)
115 self.assertTrue(RangeSet("2-9").monotonic)
116 self.assertTrue(RangeSet("2-9 30 31 35").monotonic)
117 self.assertTrue(RangeSet("").monotonic)
118 self.assertTrue(RangeSet("0-4 5-9").monotonic)
119 self.assertFalse(RangeSet("5-9 0-4").monotonic)
120 self.assertFalse(RangeSet("258768-259211 196604").monotonic)
122 self.assertTrue(RangeSet(data=[0, 10]).monotonic)
123 self.assertTrue(RangeSet(data=[0, 10, 15, 20]).monotonic)
124 self.assertTrue(RangeSet(data=[2, 9, 30, 31, 31, 32, 35, 36]).monotonic)
    [all...]
rangelib.py 27 self.monotonic = False
33 self.monotonic = all(x < y for x, y in zip(self.data, self.data[1:]))
67 RangeSet will have an extra attribute 'monotonic' that is set to
68 True. For example the input "10-20 30" is monotonic, but the input
77 monotonic = True
86 monotonic = False
94 monotonic = False
97 self.monotonic = monotonic
  /external/tlsdate/src/events/
check_continuity.c 39 struct timespec monotonic, real; local
42 if (clock_gettime (CLOCK_MONOTONIC_RAW, &monotonic) < 0)
44 new_delta = real.tv_sec - monotonic.tv_sec;
  /system/connectivity/shill/net/
shill_time.h 31 // Timestamp encapsulates a |monotonic| and a |boottime| clock that can be used
34 // format. Note that the monotonic clock does not necessarily advance during
38 Timestamp() : monotonic{} {}
42 : monotonic(in_monotonic),
46 struct timeval monotonic; member in struct:shill::Timestamp
event_history_unittest.cc 87 struct timeval monotonic = {.tv_sec = monotonic_seconds, .tv_usec = 0}; local
89 return Timestamp(monotonic, boottime, wall_clock);
110 EXPECT_EQ(kTime1, GetEvents()->back().monotonic.tv_sec);
116 EXPECT_EQ(kTime2, GetEvents()->back().monotonic.tv_sec);
131 EXPECT_EQ(kTime1, GetEvents()->back().monotonic.tv_sec);
138 EXPECT_EQ(kTime2, GetEvents()->back().monotonic.tv_sec);
153 EXPECT_EQ(kTimeEarly, GetEvents()->front().monotonic.tv_sec);
158 EXPECT_EQ(kTimeEarly, GetEvents()->front().monotonic.tv_sec);
160 EXPECT_EQ(kTimeLate, GetEvents()->back().monotonic.tv_sec);
169 EXPECT_EQ(kTimeLate, GetEvents()->front().monotonic.tv_sec)
    [all...]
event_history.cc 71 timersub(&now.monotonic, &events_.front().monotonic, &elapsed);
100 timersub(&now.monotonic, &event.monotonic, &elapsed);
  /frameworks/base/media/java/android/media/
MediaTimeProvider.java 58 * @param monotonic Whether returned time should be monotonic: that is,
64 public long getCurrentTimeUs(boolean precise, boolean monotonic)
MediaPlayer.java     [all...]
  /prebuilts/go/darwin-x86/src/runtime/
cputicks.go 10 // careful: cputicks is not guaranteed to be monotonic! In particular, we have
  /prebuilts/go/linux-x86/src/runtime/
cputicks.go 10 // careful: cputicks is not guaranteed to be monotonic! In particular, we have
  /system/core/logd/
LogKlog.h 55 void calculateCorrection(const log_time &monotonic,
LogBuffer.h 36 // We are either in 1970ish (MONOTONIC) or 2016+ish (REALTIME) so to
38 // is likely monotonic, later is real. Otherwise we start using a
39 // dividing line between monotonic and realtime if more than a minute
59 /* no way to differentiate realtime from monotonic time */
65 /* too close to call to differentiate monotonic times from realtime */
70 /* dividing line half way between monotonic and realtime */
101 bool monotonic; member in class:LogBuffer
108 bool isMonotonic() { return monotonic; }
LogBuffer.cpp 139 bool lastMonotonic = monotonic;
140 monotonic = android_log_clockid() == CLOCK_MONOTONIC;
141 if (lastMonotonic != monotonic) {
161 if (monotonic) {
195 monotonic(android_log_clockid() == CLOCK_MONOTONIC),
    [all...]
LogKlog.cpp 277 void LogKlog::calculateCorrection(const log_time &monotonic,
298 if (monotonic > real) {
301 correction = real - monotonic;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
chrono.cpp 125 #warning According to unistd.h, there is no monotonic clock on this system so \
127 monotonic, and therefore may not be conforming).
  /external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
trace_time.py 41 """ Get a monotonic clock for the Mac platform.
47 Function pointer to monotonic clock for mac platform.
77 """ Get a monotonic clock for linux platforms.
82 Function pointer to monotonic clock for linux platform.
138 """ Get a monotonic clock for windows platforms.
143 Function pointer to monotonic clock for windows platform.
189 """ Get a monotonic clock for the current platform.
194 Function pointer to monotonic clock function for current platform.
213 return monotonic()
215 monotonic = InitializeNowFunction(sys.platform variable
    [all...]
trace_time_unittest.py 88 self.assertGreater(trace_time.monotonic(), 0)
96 self.assertGreater(trace_time.monotonic(), 0)
  /tools/test/connectivity/acts/tests/google/wifi/
WifiScannerMultiScanTest.py 256 max_end_time = time.monotonic() + max_wait_time
280 if time.monotonic() >= max_end_time:
  /external/ceres-solver/scripts/
ceres-solver.spec 42 - Trust region solvers with non-monotonic steps (Levenberg-Marquardt and Dogleg (Powell & Subspace))
  /external/llvm/utils/vim/syntax/
llvm.vim 49 syn keyword llvmKeyword monotonic msp430_intrcc musttail naked nest
  /system/core/liblog/
logprint.c 301 else if (strcmp(formatString, "monotonic") == 0) format = FORMAT_MODIFIER_MONOTONIC;
1043 * be highly suspect regarding the monotonic time calculations.
1055 struct timespec monotonic; local
1074 e = readSeconds(e, &monotonic);
1096 suspended_monotonic = monotonic;
    [all...]
  /system/core/logcat/
logcat.cpp 289 " brief color epoch long monotonic printable process raw\n"
472 bool monotonic = clock_type == CLOCK_MONOTONIC; local
481 // basename for latest time. If we are using monotonic time
484 || strncmp(dp->d_name, file, len + monotonic)
    [all...]
  /system/connectivity/shill/
service_unittest.cc 161 struct timeval monotonic = { .tv_sec = monotonic_seconds, .tv_usec = 0 }; local
163 return Timestamp(monotonic, boottime, wall_clock);
    [all...]
  /external/llvm/lib/AsmParser/
LLLexer.cpp 542 KEYWORD(monotonic);

Completed in 980 milliseconds

1 2