Home
last modified time | relevance | path

Searched refs:GetWallTimeNs (Results 1 – 11 of 11) sorted by relevance

/external/perfetto/include/perfetto/base/
Dtime.h53 TimeNanos GetWallTimeNs();
58 return GetWallTimeNs(); in GetBootTimeNs()
63 inline TimeNanos GetWallTimeNs() { in GetWallTimeNs() function
76 return GetWallTimeNs(); in GetBootTimeNs()
100 inline TimeNanos GetWallTimeNs() { in GetWallTimeNs() function
110 return GetWallTimeNs(); in GetBootTimeNs()
135 inline TimeNanos GetWallTimeNs() { in GetWallTimeNs() function
146 return std::chrono::duration_cast<TimeMillis>(GetWallTimeNs()); in GetWallTimeMs()
150 return std::chrono::duration_cast<TimeSeconds>(GetWallTimeNs()); in GetWallTimeS()
/external/perfetto/test/
Dend_to_end_benchmark.cc73 uint64_t wall_start_ns = static_cast<uint64_t>(base::GetWallTimeNs().count()); in BenchmarkProducer()
88 static_cast<uint64_t>(base::GetWallTimeNs().count()) - wall_start_ns; in BenchmarkProducer()
150 uint64_t wall_start_ns = static_cast<uint64_t>(base::GetWallTimeNs().count()); in BenchmarkConsumer()
170 int64_t start = base::GetWallTimeNs().count(); in BenchmarkConsumer()
174 static_cast<uint64_t>(base::GetWallTimeNs().count() - start); in BenchmarkConsumer()
185 int64_t start = base::GetWallTimeNs().count(); in BenchmarkConsumer()
189 static_cast<uint64_t>(base::GetWallTimeNs().count() - start); in BenchmarkConsumer()
199 static_cast<uint64_t>(base::GetWallTimeNs().count()) - wall_start_ns; in BenchmarkConsumer()
/external/perfetto/src/base/
Dtime_unittest.cc27 TimeNanos ns = GetWallTimeNs(); in TEST()
53 const auto start_time = GetWallTimeNs(); in TEST()
59 auto cur_time = GetWallTimeNs(); in TEST()
Dmetatrace.cc58 GetWallTimeNs().count() / 1000.0, type, evt_name, cpu, cpu); in WriteEvent()
Dtime.cc31 TimeNanos GetWallTimeNs() { in GetWallTimeNs() function
/external/perfetto/tools/busy_threads/
Dbusy_threads.cc34 base::TimeNanos start = base::GetWallTimeNs(); in BusyWait()
35 while ((base::GetWallTimeNs() - start).count() < busy_us * 1000) { in BusyWait()
/external/perfetto/src/trace_processor/
Dtrace_processor_impl.cc338 base::TimeNanos t_start = base::GetWallTimeNs(); in ExecuteQuery()
382 base::TimeNanos t_end = base::GetWallTimeNs(); in ~IteratorImpl()
393 base::TimeNanos t_first_next = base::GetWallTimeNs(); in RecordFirstNextInSqlStats()
Dtrace_processor_shell.cc270 t_end = base::GetWallTimeNs(); in PrintQueryResultInteractively()
342 base::TimeNanos t_start = base::GetWallTimeNs(); in StartInteractiveShell()
Dtrace_storage.h786 : storage_(storage), key_(key), start_ns_(base::GetWallTimeNs()) {} in ScopedStatsTracer()
791 auto delta_ns = base::GetWallTimeNs() - start_ns_; in ~ScopedStatsTracer()
/external/perfetto/src/profiling/memory/
Dunwinding.cc355 auto start_time_us = base::GetWallTimeNs() / 1000; in HandleBuffer()
358 ((base::GetWallTimeNs() / 1000) - start_time_us).count()); in HandleBuffer()
/external/perfetto/src/tracing/core/
Dtracing_service_impl.cc2151 auto wall_time_ns = static_cast<uint64_t>(base::GetWallTimeNs().count()); in SnapshotClocks()