Home
last modified time | relevance | path

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

/art/runtime/
Dtrace.cc137 void Trace::SetDefaultClockSource(TraceClockSource clock_source) { in SetDefaultClockSource() argument
139 default_clock_source_ = clock_source; in SetDefaultClockSource()
141 if (clock_source != TraceClockSource::kWall) { in SetDefaultClockSource()
147 static uint16_t GetTraceVersion(TraceClockSource clock_source) { in GetTraceVersion() argument
148 return (clock_source == TraceClockSource::kDual) ? kTraceVersionDualClock in GetTraceVersion()
152 static uint16_t GetRecordSize(TraceClockSource clock_source) { in GetRecordSize() argument
153 return (clock_source == TraceClockSource::kDual) ? kTraceRecordSizeDualClock in GetRecordSize()
635 void Trace::DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source) { in DumpBuf() argument
644 ptr += GetRecordSize(clock_source); in DumpBuf()
Dtrace.h113 static void SetDefaultClockSource(TraceClockSource clock_source);
238 void DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source)