Searched refs:cyc_to_tsc (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-decoder.c | 709 double cyc_to_tsc; in intel_pt_calc_cyc_cb() local 855 cyc_to_tsc = (double)(timestamp - decoder->timestamp) / data->cycle_cnt; in intel_pt_calc_cyc_cb() 857 if (data->cbr && cyc_to_tsc > data->cbr_cyc_to_tsc && in intel_pt_calc_cyc_cb() 858 cyc_to_tsc / data->cbr_cyc_to_tsc > 1.25) { in intel_pt_calc_cyc_cb() 860 cyc_to_tsc, data->cbr_cyc_to_tsc, pkt_info->pos); in intel_pt_calc_cyc_cb() 864 decoder->calc_cyc_to_tsc = cyc_to_tsc; in intel_pt_calc_cyc_cb() 869 cyc_to_tsc, data->cbr_cyc_to_tsc, pkt_info->pos); in intel_pt_calc_cyc_cb() 872 cyc_to_tsc, pkt_info->pos); in intel_pt_calc_cyc_cb()
|
/kernel/linux/linux-6.6/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-decoder.c | 812 double cyc_to_tsc; in intel_pt_calc_cyc_cb() local 961 cyc_to_tsc = (double)(timestamp - decoder->timestamp) / data->cycle_cnt; in intel_pt_calc_cyc_cb() 963 if (data->cbr && cyc_to_tsc > data->cbr_cyc_to_tsc && in intel_pt_calc_cyc_cb() 964 cyc_to_tsc / data->cbr_cyc_to_tsc > 1.25) { in intel_pt_calc_cyc_cb() 966 cyc_to_tsc, data->cbr_cyc_to_tsc, pkt_info->pos); in intel_pt_calc_cyc_cb() 970 decoder->calc_cyc_to_tsc = cyc_to_tsc; in intel_pt_calc_cyc_cb() 975 cyc_to_tsc, data->cbr_cyc_to_tsc, pkt_info->pos); in intel_pt_calc_cyc_cb() 978 cyc_to_tsc, pkt_info->pos); in intel_pt_calc_cyc_cb()
|
Completed in 9 milliseconds