Home
last modified time | relevance | path

Searched refs:monotonic (Results 1 – 17 of 17) sorted by relevance

/system/connectivity/shill/net/
Devent_history_unittest.cc87 struct timeval monotonic = {.tv_sec = monotonic_seconds, .tv_usec = 0}; in GetTimestamp() local
89 return Timestamp(monotonic, boottime, wall_clock); in GetTimestamp()
110 EXPECT_EQ(kTime1, GetEvents()->back().monotonic.tv_sec); in TEST_F()
116 EXPECT_EQ(kTime2, GetEvents()->back().monotonic.tv_sec); in TEST_F()
131 EXPECT_EQ(kTime1, GetEvents()->back().monotonic.tv_sec); in TEST_F()
138 EXPECT_EQ(kTime2, GetEvents()->back().monotonic.tv_sec); in TEST_F()
153 EXPECT_EQ(kTimeEarly, GetEvents()->front().monotonic.tv_sec); in TEST_F()
158 EXPECT_EQ(kTimeEarly, GetEvents()->front().monotonic.tv_sec); in TEST_F()
160 EXPECT_EQ(kTimeLate, GetEvents()->back().monotonic.tv_sec); in TEST_F()
169 EXPECT_EQ(kTimeLate, GetEvents()->front().monotonic.tv_sec); in TEST_F()
[all …]
Dshill_time.h38 Timestamp() : monotonic{} {} in Timestamp()
42 : monotonic(in_monotonic), in Timestamp()
46 struct timeval monotonic; member
Devent_history.cc71 timersub(&now.monotonic, &events_.front().monotonic, &elapsed); in ExpireEventsBeforeInternal()
100 timersub(&now.monotonic, &event.monotonic, &elapsed); in CountEventsWithinInterval()
/system/core/logd/
DLogBuffer.h101 bool monotonic; variable
108 bool isMonotonic() { return monotonic; } in isMonotonic()
DLogKlog.h55 void calculateCorrection(const log_time &monotonic,
DLogBuffer.cpp139 bool lastMonotonic = monotonic; in init()
140 monotonic = android_log_clockid() == CLOCK_MONOTONIC; in init()
141 if (lastMonotonic != monotonic) { in init()
161 if (monotonic) { in init()
195 monotonic(android_log_clockid() == CLOCK_MONOTONIC), in LogBuffer()
DLogKlog.cpp276 void LogKlog::calculateCorrection(const log_time &monotonic, in calculateCorrection() argument
297 if (monotonic > real) { in calculateCorrection()
300 correction = real - monotonic; in calculateCorrection()
/system/core/liblog/
Dlogprint.c1055 struct timespec monotonic; in convertMonotonic() local
1074 e = readSeconds(e, &monotonic); in convertMonotonic()
1096 suspended_monotonic = monotonic; in convertMonotonic()
1131 subTimespec(&list->convert, &time, &monotonic); in convertMonotonic()
/system/core/logcat/
Dlogcat.cpp474 bool monotonic = clock_type == CLOCK_MONOTONIC; in lastLogTime() local
486 || strncmp(dp->d_name, file, len + monotonic) in lastLogTime()
Devent.logtags57 # Device boot timings. We include monotonic clock values because the
/system/connectivity/shill/
Dservice_unittest.cc161 struct timeval monotonic = { .tv_sec = monotonic_seconds, .tv_usec = 0 }; in GetTimestamp() local
163 return Timestamp(monotonic, boottime, wall_clock); in GetTimestamp()
1785 EXPECT_EQ(kNow, GetDisconnects()->Front().monotonic.tv_sec); in TEST_F()
1813 EXPECT_EQ(kNow, GetMisconnects()->Front().monotonic.tv_sec); in TEST_F()
1851 EXPECT_EQ(now, events->Front().monotonic.tv_sec); in TEST_F()
/system/core/metricsd/uploader/proto/
Dsystem_profile.proto453 // clock implemented via TimeTicks, which guarantees that it is monotonic
461 // via TimeTicks, which guarantees that it is monotonic and does not
/system/connectivity/shill/wifi/
Dwake_on_wifi_unittest.cc1033 struct timeval monotonic = {.tv_sec = 0, .tv_usec = 0}; in GetTimestampBootTime() local
1035 return Timestamp(monotonic, boottime, ""); in GetTimestampBootTime()
/system/tpm/trunks/generator/
Draw_structures.txt12032 the monotonic audit counter
Draw_structures_fixed.txt12068 the monotonic audit counter
Draw_commands.txt31715 When an Index has the TPMA_NV_COUNTER attribute set, it behaves as a monotonic counter and may
Draw_commands_fixed.txt31724 When an Index has the TPMA_NV_COUNTER attribute set, it behaves as a monotonic counter and may