Searched refs:TraceClockSource (Results 1 – 5 of 5) sorted by relevance
71 enum class TraceClockSource { enum78 static constexpr TraceClockSource kDefaultTraceClockSource = TraceClockSource::kDual;80 static constexpr TraceClockSource kDefaultTraceClockSource = TraceClockSource::kWall;
71 TraceClockSource Trace::default_clock_source_ = kDefaultTraceClockSource;121 void Trace::SetDefaultClockSource(TraceClockSource clock_source) { in SetDefaultClockSource()125 if (clock_source != TraceClockSource::kWall) { in SetDefaultClockSource()131 static uint16_t GetTraceVersion(TraceClockSource clock_source) { in GetTraceVersion()132 return (clock_source == TraceClockSource::kDual) ? kTraceVersionDualClock in GetTraceVersion()136 static uint16_t GetRecordSize(TraceClockSource clock_source) { in GetRecordSize()137 return (clock_source == TraceClockSource::kDual) ? kTraceRecordSizeDualClock in GetRecordSize()142 return (clock_source_ == TraceClockSource::kThreadCpu) || in UseThreadCpuClock()143 (clock_source_ == TraceClockSource::kDual); in UseThreadCpuClock()147 return (clock_source_ == TraceClockSource::kWall) || in UseWallClock()[all …]
126 static void SetDefaultClockSource(TraceClockSource clock_source);298 void DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source)305 static TraceClockSource default_clock_source_;331 const TraceClockSource clock_source_;
285 .WithType<TraceClockSource>() in MakeParser()286 .WithValueMap({{"threadcpuclock", TraceClockSource::kThreadCpu}, in MakeParser()287 {"wallclock", TraceClockSource::kWall}, in MakeParser()288 {"dualclock", TraceClockSource::kDual}}) in MakeParser()
112 RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource)…