Home
last modified time | relevance | path

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

/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c626 static void intel_pt_fixup_last_mtc(uint32_t mtc, int mtc_shift, in intel_pt_fixup_last_mtc() argument
632 *last_mtc |= mtc & mask; in intel_pt_fixup_last_mtc()
633 if (*last_mtc >= mtc) { in intel_pt_fixup_last_mtc()
646 uint32_t mtc, mtc_delta, ctc, fc, ctc_rem; in intel_pt_calc_cyc_cb() local
667 mtc = pkt_info->packet.payload; in intel_pt_calc_cyc_cb()
670 intel_pt_fixup_last_mtc(mtc, decoder->mtc_shift, in intel_pt_calc_cyc_cb()
673 if (mtc > data->last_mtc) in intel_pt_calc_cyc_cb()
674 mtc_delta = mtc - data->last_mtc; in intel_pt_calc_cyc_cb()
676 mtc_delta = mtc + 256 - data->last_mtc; in intel_pt_calc_cyc_cb()
678 data->last_mtc = mtc; in intel_pt_calc_cyc_cb()
[all …]
/tools/perf/arch/x86/util/
Dintel-pt.c194 int mtc, mtc_periods = 0, mtc_period; in intel_pt_default_config() local
202 &mtc) != 1) in intel_pt_default_config()
203 mtc = 1; in intel_pt_default_config()
205 if (mtc) { in intel_pt_default_config()
/tools/perf/Documentation/
Dintel-pt.txt155 /sys/bus/event_source/devices/intel_pt/format/mtc:config:9
278 mtc Produces MTC timing packets.
286 /sys/bus/event_source/devices/intel_pt/caps/mtc
294 mtc_period Specifies how frequently MTC packets are produced - see mtc