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