Home
last modified time | relevance | path

Searched refs:clock_source (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Dtrace.cc136 void Trace::SetDefaultClockSource(TraceClockSource clock_source) { in SetDefaultClockSource() argument
138 default_clock_source_ = clock_source; in SetDefaultClockSource()
140 if (clock_source != TraceClockSource::kWall) { in SetDefaultClockSource()
146 static uint16_t GetTraceVersion(TraceClockSource clock_source) { in GetTraceVersion() argument
147 return (clock_source == TraceClockSource::kDual) ? kTraceVersionDualClock in GetTraceVersion()
151 static uint16_t GetRecordSize(TraceClockSource clock_source) { in GetRecordSize() argument
152 return (clock_source == TraceClockSource::kDual) ? kTraceRecordSizeDualClock in GetRecordSize()
624 void Trace::DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source) { in DumpBuf() argument
633 ptr += GetRecordSize(clock_source); in DumpBuf()
Dtrace.h113 static void SetDefaultClockSource(TraceClockSource clock_source);
229 void DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source)