Lines Matching refs:TraceClockSource
72 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()
149 (clock_source_ == TraceClockSource::kDual); in UseWallClock()
602 void Trace::DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source) { in DumpBuf()