Home
last modified time | relevance | path

Searched refs:TraceClockSource (Results 1 – 5 of 5) sorted by relevance

/art/runtime/
Druntime_globals.h71 enum class TraceClockSource { enum
78 static constexpr TraceClockSource kDefaultTraceClockSource = TraceClockSource::kDual;
80 static constexpr TraceClockSource kDefaultTraceClockSource = TraceClockSource::kWall;
Dtrace.cc72 TraceClockSource Trace::default_clock_source_ = kDefaultTraceClockSource;
122 void Trace::SetDefaultClockSource(TraceClockSource clock_source) { in SetDefaultClockSource()
126 if (clock_source != TraceClockSource::kWall) { in SetDefaultClockSource()
132 static uint16_t GetTraceVersion(TraceClockSource clock_source) { in GetTraceVersion()
133 return (clock_source == TraceClockSource::kDual) ? kTraceVersionDualClock in GetTraceVersion()
137 static uint16_t GetRecordSize(TraceClockSource clock_source) { in GetRecordSize()
138 return (clock_source == TraceClockSource::kDual) ? kTraceRecordSizeDualClock in GetRecordSize()
143 return (clock_source_ == TraceClockSource::kThreadCpu) || in UseThreadCpuClock()
144 (clock_source_ == TraceClockSource::kDual); in UseThreadCpuClock()
148 return (clock_source_ == TraceClockSource::kWall) || in UseWallClock()
[all …]
Dtrace.h126 static void SetDefaultClockSource(TraceClockSource clock_source);
299 void DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source)
306 static TraceClockSource default_clock_source_;
332 const TraceClockSource clock_source_;
Dparsed_options.cc295 .WithType<TraceClockSource>() in MakeParser()
296 .WithValueMap({{"threadcpuclock", TraceClockSource::kThreadCpu}, in MakeParser()
297 {"wallclock", TraceClockSource::kWall}, in MakeParser()
298 {"dualclock", TraceClockSource::kDual}}) in MakeParser()
Druntime_options.def117 RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource)…