Home
last modified time | relevance | path

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

/art/runtime/
Dtrace.cc122 void Trace::SetDefaultClockSource(TraceClockSource clock_source) { in SetDefaultClockSource() argument
124 default_clock_source_ = clock_source; in SetDefaultClockSource()
126 if (clock_source != TraceClockSource::kWall) { in SetDefaultClockSource()
132 static uint16_t GetTraceVersion(TraceClockSource clock_source) { in GetTraceVersion() argument
133 return (clock_source == TraceClockSource::kDual) ? kTraceVersionDualClock in GetTraceVersion()
137 static uint16_t GetRecordSize(TraceClockSource clock_source) { in GetRecordSize() argument
138 return (clock_source == TraceClockSource::kDual) ? kTraceRecordSizeDualClock in GetRecordSize()
602 void Trace::DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source) { in DumpBuf() argument
611 ptr += GetRecordSize(clock_source); in DumpBuf()
Dtrace.h126 static void SetDefaultClockSource(TraceClockSource clock_source);
299 void DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source)