Home
last modified time | relevance | path

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

/art/runtime/
Dtrace.cc121 void Trace::SetDefaultClockSource(TraceClockSource clock_source) { in SetDefaultClockSource() argument
123 default_clock_source_ = clock_source; in SetDefaultClockSource()
125 if (clock_source != TraceClockSource::kWall) { in SetDefaultClockSource()
131 static uint16_t GetTraceVersion(TraceClockSource clock_source) { in GetTraceVersion() argument
132 return (clock_source == TraceClockSource::kDual) ? kTraceVersionDualClock in GetTraceVersion()
136 static uint16_t GetRecordSize(TraceClockSource clock_source) { in GetRecordSize() argument
137 return (clock_source == TraceClockSource::kDual) ? kTraceRecordSizeDualClock in GetRecordSize()
601 void Trace::DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source) { in DumpBuf() argument
610 ptr += GetRecordSize(clock_source); in DumpBuf()
Dtrace.h126 static void SetDefaultClockSource(TraceClockSource clock_source);
298 void DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source)