Searched refs:clock_type (Results 1 - 4 of 4) sorted by relevance
/system/connectivity/shill/net/ |
H A D | event_history.cc | 33 void EventHistory::ExpireEventsBefore(int seconds_ago, ClockType clock_type) { argument 34 ExpireEventsBeforeInternal(seconds_ago, time_->GetNow(), clock_type); 38 ClockType clock_type) { 41 ExpireEventsBeforeInternal(seconds_ago, now, clock_type); 62 ClockType clock_type) { 66 switch (clock_type) { 88 ClockType clock_type) { 95 switch (clock_type) { 37 RecordEventAndExpireEventsBefore(int seconds_ago, ClockType clock_type) argument 61 ExpireEventsBeforeInternal(int seconds_ago, Timestamp now, ClockType clock_type) argument 87 CountEventsWithinInterval(int seconds_ago, ClockType clock_type) argument
|
H A D | event_history.h | 56 // more than |seconds_ago| prior to the current time. |clock_type| determines 58 void ExpireEventsBefore(int seconds_ago, ClockType clock_type); 62 // |seconds_ago|. |clock_type| determines what time of clock we use for time- 64 void RecordEventAndExpireEventsBefore(int seconds_ago, ClockType clock_type); 71 // now and the time |seconds_ago| before now (inclusive). |clock_type| 73 int CountEventsWithinInterval(int seconds_ago, ClockType clock_type); 88 ClockType clock_type);
|
H A D | event_history_unittest.cc | 70 EventHistory::ClockType clock_type) { 72 event_history_->ExpireEventsBefore(seconds_ago, clock_type); 76 EventHistory::ClockType clock_type) { 78 event_history_->RecordEventAndExpireEventsBefore(seconds_ago, clock_type); 93 EventHistory::ClockType clock_type, 96 return event_history_->CountEventsWithinInterval(seconds_ago, clock_type); 177 EventHistory::ClockType clock_type; local 190 clock_type = EventHistory::kClockTypeMonotonic; 192 GetTimestamp(kTime2Monotonic, kTime2Boot, ""), clock_type); 197 clock_type 69 ExpireEventsBefore(int seconds_ago, Timestamp now, EventHistory::ClockType clock_type) argument 75 RecordEventAndExpireEventsBefore(int seconds_ago, Timestamp now, EventHistory::ClockType clock_type) argument 92 CountEventsWithinInterval(int seconds_ago, EventHistory::ClockType clock_type, Timestamp now) argument [all...] |
/system/core/logcat/ |
H A D | logcat.cpp | 472 clockid_t clock_type = android_log_clockid(); local 473 log_time now(clock_type); 474 bool monotonic = clock_type == CLOCK_MONOTONIC;
|
Completed in 89 milliseconds