Home
last modified time | relevance | path

Searched refs:tsc_conversion (Results 1 – 10 of 10) sorted by relevance

/openbsd/gnu/llvm/lldb/source/Plugins/Process/Linux/
H A DIntelPTCollector.cpp38 if (Expected<LinuxPerfZeroTscConversion> tsc_conversion = in FetchPerfTscConversionParameters() local
40 return *tsc_conversion; in FetchPerfTscConversionParameters()
44 toString(tsc_conversion.takeError()).c_str()); in FetchPerfTscConversionParameters()
112 Expected<LinuxPerfZeroTscConversion &> tsc_conversion = in TraceStart() local
114 if (!tsc_conversion) in TraceStart()
115 return tsc_conversion.takeError(); in TraceStart()
214 if (Expected<LinuxPerfZeroTscConversion &> tsc_conversion = in GetState() local
216 state.tsc_perf_zero_conversion = *tsc_conversion; in GetState()
218 state.AddWarning(toString(tsc_conversion.takeError())); in GetState()
/openbsd/gnu/llvm/lldb/source/Plugins/Trace/intel-pt/
H A DDecodedThread.cpp45 const LinuxPerfZeroTscConversion &tsc_conversion) const { in GetInterpolatedTime()
65 return interpolate(tsc_conversion.ToNanos(tsc + items_count)); in GetInterpolatedTime()
79 std::min(tsc_conversion.ToNanos(tsc + items_count), next_range->nanos)); in GetInterpolatedTime()
247 const std::optional<LinuxPerfZeroTscConversion> &tsc_conversion) in DecodedThread() argument
248 : m_thread_sp(thread_sp), m_tsc_conversion(tsc_conversion) {} in DecodedThread()
H A DPerfContextSwitchDecoder.cpp193 cpu_id_t cpu_id, const LinuxPerfZeroTscConversion &tsc_conversion, in RecoverExecutionsFromConsecutiveRecords() argument
248 const LinuxPerfZeroTscConversion &tsc_conversion) { in DecodePerfContextSwitchTrace() argument
268 tsc_conversion.ToTSC(context_switch_record.time_in_nanos), in DecodePerfContextSwitchTrace()
274 cpu_id, tsc_conversion, record, prev_record, in DecodePerfContextSwitchTrace()
H A DTraceCursorIntelPT.cpp22 const std::optional<LinuxPerfZeroTscConversion> &tsc_conversion, in TraceCursorIntelPT() argument
25 m_tsc_conversion(tsc_conversion), in TraceCursorIntelPT()
H A DTraceIntelPT.cpp136 trace_sp->m_storage.tsc_conversion = in CreateInstanceForPostmortemTrace()
199 if (!storage.tsc_conversion) in FindBeginningOfTimeNanos()
224 storage.tsc_conversion->ToNanos(*lowest_tsc); in FindBeginningOfTimeNanos()
235 thread.shared_from_this(), *decoded_thread, m_storage.tsc_conversion, in CreateNewCursor()
549 return GetUpdatedStorage().tsc_conversion; in GetPerfZeroTscConversion()
567 m_storage.tsc_conversion = intelpt_state->tsc_perf_zero_conversion; in DoRefreshLiveProcessState()
591 if (m_storage.tsc_conversion) { in DoRefreshLiveProcessState()
H A DDecodedThread.h112 const LinuxPerfZeroTscConversion &tsc_conversion) const;
154 const std::optional<LinuxPerfZeroTscConversion> &tsc_conversion);
H A DTraceIntelPTMultiCpuDecoder.cpp125 LinuxPerfZeroTscConversion tsc_conversion = *conv_opt; in DoCorrelateContextSwitchesAndIntelPtTraces() local
157 DecodePerfContextSwitchTrace(data, cpu_id, tsc_conversion); in DoCorrelateContextSwitchesAndIntelPtTraces()
H A DTraceCursorIntelPT.h22 const std::optional<LinuxPerfZeroTscConversion> &tsc_conversion,
H A DPerfContextSwitchDecoder.h139 const LinuxPerfZeroTscConversion &tsc_conversion);
H A DTraceIntelPT.h273 std::optional<LinuxPerfZeroTscConversion> tsc_conversion; member