Searched refs:TimeMillis (Results 1 – 12 of 12) sorted by relevance
26 TimeMillis ms = GetWallTimeMs(); in TEST()31 struct timespec ts = ToPosixTimespec(TimeMillis(0)); in TEST()36 struct timespec ts = ToPosixTimespec(TimeMillis(1)); in TEST()41 struct timespec ts = ToPosixTimespec(TimeMillis(12345)); in TEST()46 struct timespec ts = ToPosixTimespec(TimeMillis(1000000000001LL)); in TEST()
99 TimeMillis now = GetWallTimeMs(); in RunImmediateAndDelayedTask()174 TimeMillis diff = delayed_tasks_.begin()->first - GetWallTimeMs(); in GetDelayMsToNextTaskLocked()193 TimeMillis runtime = GetWallTimeMs() + TimeMillis(delay_ms); in PostDelayedTask()
110 TimeMillis next_wake_up{}; in RunDelayedTask()132 void AndroidTaskRunner::ScheduleDelayedWakeUp(TimeMillis time) { in ScheduleDelayedWakeUp()156 TimeMillis runtime = GetWallTimeMs() + TimeMillis(delay_ms); in PostDelayedTask()
41 base::TimeMillis last = base::GetWallTimeMs(); in SkippyMain()46 base::TimeMillis now = base::GetWallTimeMs(); in SkippyMain()47 if ((now - last) < base::TimeMillis(100)) in SkippyMain()
42 using TimeMillis = std::chrono::milliseconds; variable145 inline TimeMillis GetWallTimeMs() { in GetWallTimeMs()146 return std::chrono::duration_cast<TimeMillis>(GetWallTimeNs()); in GetWallTimeMs()153 inline struct timespec ToPosixTimespec(TimeMillis time) { in ToPosixTimespec()
71 void ScheduleDelayedWakeUp(TimeMillis time);84 std::multimap<TimeMillis, std::function<void()>> delayed_tasks_;
103 std::multimap<TimeMillis, std::function<void()>> delayed_tasks_;
99 base::TimeMillis start = base::GetWallTimeMs(); in ProduceEventBatch()122 base::TimeMillis time_taken = base::GetWallTimeMs() - start; in ProduceEventBatch()
110 constexpr auto timeout = base::TimeMillis(7500); in ExecvAtrace()
448 base::TimeMillis last_snapshot_time = {};
69 constexpr base::TimeMillis kSnapshotsInterval(10 * 1000);1426 base::TimeMillis now = base::GetWallTimeMs(); in ReadBuffers()
148 tracing_session()->last_snapshot_time = base::TimeMillis(0); in WaitForNextSyncMarker()150 while (tracing_session()->last_snapshot_time == base::TimeMillis(0)) { in WaitForNextSyncMarker()