Searched refs:Timestamp (Results 1 – 10 of 10) sorted by relevance
/system/connectivity/shill/net/ |
D | shill_time.h | 37 struct SHILL_EXPORT Timestamp { struct 38 Timestamp() : monotonic{} {} in Timestamp() argument 39 Timestamp(const struct timeval& in_monotonic, in Timestamp() argument 74 virtual Timestamp GetNow();
|
D | event_history.h | 77 Timestamp Front() { return events_.front(); } in Front() 85 void RecordEventInternal(Timestamp now); 87 void ExpireEventsBeforeInternal(int seconds_ago, Timestamp now, 92 std::deque<Timestamp> events_;
|
D | event_history.cc | 39 Timestamp now = time_->GetNow(); in RecordEventAndExpireEventsBefore() 46 for (deque<Timestamp>::const_iterator it = events_.begin(); in ExtractWallClockToStrings() 53 void EventHistory::RecordEventInternal(Timestamp now) { in RecordEventInternal() 61 void EventHistory::ExpireEventsBeforeInternal(int seconds_ago, Timestamp now, in ExpireEventsBeforeInternal() 90 Timestamp now = time_->GetNow(); in CountEventsWithinInterval()
|
D | event_history_unittest.cc | 62 deque<Timestamp>* GetEvents() { return &event_history_->events_; } in GetEvents() 64 void RecordEvent(Timestamp now) { in RecordEvent() 69 void ExpireEventsBefore(int seconds_ago, Timestamp now, in ExpireEventsBefore() 75 void RecordEventAndExpireEventsBefore(int seconds_ago, Timestamp now, in RecordEventAndExpireEventsBefore() 85 Timestamp GetTimestamp(int monotonic_seconds, int boottime_seconds, in GetTimestamp() 89 return Timestamp(monotonic, boottime, wall_clock); in GetTimestamp() 94 Timestamp now) { in CountEventsWithinInterval() 238 const Timestamp kValues[] = { in TEST_F()
|
D | shill_time.cc | 94 Timestamp Time::GetNow() { in GetNow() 107 return Timestamp(now_monotonic, now_boottime, wall_clock_string); in GetNow()
|
D | mock_time.h | 37 MOCK_METHOD0(GetNow, Timestamp());
|
/system/extras/simpleperf/ |
D | record.h | 157 virtual uint64_t Timestamp() const; 275 uint64_t Timestamp() const override;
|
D | record.cpp | 183 uint64_t Record::Timestamp() const { in Timestamp() function in Record 530 uint64_t SampleRecord::Timestamp() const { in Timestamp() function in SampleRecord 694 uint64_t time = record->Timestamp(); in IsHappensBefore() 695 uint64_t other_time = other.record->Timestamp(); in IsHappensBefore() 733 last_time_ = std::max(last_time_, r->Timestamp()); in Push() 751 if (r->Timestamp() + min_time_diff_in_ns_ > last_time_) { in Pop()
|
/system/connectivity/shill/ |
D | service_unittest.cc | 107 DefaultValue<Timestamp>::Set(Timestamp()); in ServiceTest() 159 Timestamp GetTimestamp(int monotonic_seconds, int boottime_seconds, in GetTimestamp() 163 return Timestamp(monotonic, boottime, wall_clock); in GetTimestamp() 1716 Timestamp timestamp; in TEST_F() 1729 Timestamp timestamp; in TEST_F() 1738 Timestamp timestamp; in TEST_F() 1861 EXPECT_CALL(time_, GetNow()).WillOnce(Return(Timestamp())); in TEST_F() 1872 EXPECT_CALL(time_, GetNow()).WillOnce(Return(Timestamp())); in TEST_F()
|
/system/connectivity/shill/wifi/ |
D | wake_on_wifi_unittest.cc | 1032 Timestamp GetTimestampBootTime(int boottime_seconds) { in GetTimestampBootTime() 1035 return Timestamp(monotonic, boottime, ""); in GetTimestampBootTime()
|