Home
last modified time | relevance | path

Searched refs:TimeMillis (Results 1 – 12 of 12) sorted by relevance

/external/perfetto/src/base/
Dtime_unittest.cc26 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()
Dunix_task_runner.cc99 TimeMillis now = GetWallTimeMs(); in RunImmediateAndDelayedTask()
174 TimeMillis diff = delayed_tasks_.begin()->first - GetWallTimeMs(); in GetDelayMsToNextTaskLocked()
193 TimeMillis runtime = GetWallTimeMs() + TimeMillis(delay_ms); in PostDelayedTask()
Dandroid_task_runner.cc110 TimeMillis next_wake_up{}; in RunDelayedTask()
132 void AndroidTaskRunner::ScheduleDelayedWakeUp(TimeMillis time) { in ScheduleDelayedWakeUp()
156 TimeMillis runtime = GetWallTimeMs() + TimeMillis(delay_ms); in PostDelayedTask()
/external/perfetto/tools/skippy/
Dskippy.cc41 base::TimeMillis last = base::GetWallTimeMs(); in SkippyMain()
46 base::TimeMillis now = base::GetWallTimeMs(); in SkippyMain()
47 if ((now - last) < base::TimeMillis(100)) in SkippyMain()
/external/perfetto/include/perfetto/base/
Dtime.h42 using TimeMillis = std::chrono::milliseconds; variable
145 inline TimeMillis GetWallTimeMs() { in GetWallTimeMs()
146 return std::chrono::duration_cast<TimeMillis>(GetWallTimeNs()); in GetWallTimeMs()
153 inline struct timespec ToPosixTimespec(TimeMillis time) { in ToPosixTimespec()
Dandroid_task_runner.h71 void ScheduleDelayedWakeUp(TimeMillis time);
84 std::multimap<TimeMillis, std::function<void()>> delayed_tasks_;
Dunix_task_runner.h103 std::multimap<TimeMillis, std::function<void()>> delayed_tasks_;
/external/perfetto/test/
Dfake_producer.cc99 base::TimeMillis start = base::GetWallTimeMs(); in ProduceEventBatch()
122 base::TimeMillis time_taken = base::GetWallTimeMs() - start; in ProduceEventBatch()
/external/perfetto/src/traced/probes/ftrace/
Datrace_wrapper.cc110 constexpr auto timeout = base::TimeMillis(7500); in ExecvAtrace()
/external/perfetto/src/tracing/core/
Dtracing_service_impl.h448 base::TimeMillis last_snapshot_time = {};
Dtracing_service_impl.cc69 constexpr base::TimeMillis kSnapshotsInterval(10 * 1000);
1426 base::TimeMillis now = base::GetWallTimeMs(); in ReadBuffers()
Dtracing_service_impl_unittest.cc148 tracing_session()->last_snapshot_time = base::TimeMillis(0); in WaitForNextSyncMarker()
150 while (tracing_session()->last_snapshot_time == base::TimeMillis(0)) { in WaitForNextSyncMarker()