Home
last modified time | relevance | path

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

/tools/perf/scripts/python/
Dintel-pt-events.py44 cbr = data[0]
46 p = ((cbr * 1000 / data[2]) + 5) / 10
47 print("%3u freq: %4u MHz (%3u%%)" % (cbr, f, p), end=' ')
Dexport-to-sqlite.py728 def cbr(id, raw_buf): function
730 cbr = data[0]
732 percent = ((cbr * 1000 / data[2]) + 5) / 10
734 cbr_query.addBindValue(str(cbr))
793 cbr(id, raw_buf)
Dexport-to-postgresql.py1053 def cbr(id, raw_buf): function
1055 cbr = data[0]
1057 percent = ((cbr * 1000 / data[2]) + 5) / 10
1058 value = struct.pack("!hiqiiiiii", 4, 8, id, 4, cbr, 4, int(MHz), 4, int(percent))
1106 cbr(id, raw_buf)
/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c157 unsigned int cbr; member
672 unsigned int cbr; member
710 unsigned int cbr; in intel_pt_calc_cyc_cb() local
827 cbr = pkt_info->packet.payload; in intel_pt_calc_cyc_cb()
828 if (data->cbr && data->cbr != cbr) in intel_pt_calc_cyc_cb()
830 data->cbr = cbr; in intel_pt_calc_cyc_cb()
831 data->cbr_cyc_to_tsc = decoder->max_non_turbo_ratio_fp / cbr; in intel_pt_calc_cyc_cb()
847 if (!data->cbr && decoder->cbr) { in intel_pt_calc_cyc_cb()
848 data->cbr = decoder->cbr; in intel_pt_calc_cyc_cb()
857 if (data->cbr && cyc_to_tsc > data->cbr_cyc_to_tsc && in intel_pt_calc_cyc_cb()
[all …]
Dintel-pt-decoder.h217 uint32_t cbr; member
/tools/perf/util/
Devent.h254 u32 cbr : 8, member
Dintel-pt.c1535 ptq->cbr_seen = ptq->state->cbr; in intel_pt_synth_cbr_sample()
1544 raw.freq = cpu_to_le32(raw.cbr * pt->cbr2khz); in intel_pt_synth_cbr_sample()
2001 if (ptq->state->cbr != ptq->cbr_seen) { in intel_pt_sample()
/tools/perf/Documentation/
Dperf-intel-pt.txt900 cbr: cbr: 22 freq: 2189 MHz (200%)
906 "cbr" includes the frequency and the percentage of maximum non-turbo
/tools/perf/
Dbuiltin-script.c1730 len = fprintf(fp, " cbr: %2u freq: %4u MHz ", data->cbr, freq); in perf_sample__fprintf_synth_cbr()
1732 percent = (5 + (1000 * data->cbr) / data->max_nonturbo) / 10; in perf_sample__fprintf_synth_cbr()