Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c176 int mtc_shift; member
346 decoder->mtc_shift = params->mtc_period; in intel_pt_decoder_new()
347 decoder->ctc_rem_mask = (1 << decoder->mtc_shift) - 1; in intel_pt_decoder_new()
369 intel_pt_log("timestamp: mtc_shift %u\n", decoder->mtc_shift); in intel_pt_decoder_new()
794 static void intel_pt_fixup_last_mtc(uint32_t mtc, int mtc_shift, in intel_pt_fixup_last_mtc() argument
797 uint32_t first_missing_bit = 1U << (16 - mtc_shift); in intel_pt_fixup_last_mtc()
845 if (decoder->mtc_shift > 8 && data->fixup_last_mtc) { in intel_pt_calc_cyc_cb()
847 intel_pt_fixup_last_mtc(mtc, decoder->mtc_shift, in intel_pt_calc_cyc_cb()
854 data->ctc_delta += mtc_delta << decoder->mtc_shift; in intel_pt_calc_cyc_cb()
911 data->last_mtc = (ctc >> decoder->mtc_shift) & 0xff; in intel_pt_calc_cyc_cb()
[all …]