/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | hists_filter.c | 157 hists->stats.total_period == 1000); in test__hists_filter() 164 hists->stats.total_period == in test__hists_filter() 182 hists->stats.total_period == 1000); in test__hists_filter() 211 hists->stats.total_period == 1000); in test__hists_filter() 246 hists->stats.total_period == 1000); in test__hists_filter() 275 hists->stats.total_period == 1000); in test__hists_filter() 306 hists->stats.total_period == 1000); in test__hists_filter()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | hists_filter.c | 169 hists->stats.total_period == 1000); in test__hists_filter() 176 hists->stats.total_period == in test__hists_filter() 194 hists->stats.total_period == 1000); in test__hists_filter() 223 hists->stats.total_period == 1000); in test__hists_filter() 258 hists->stats.total_period == 1000); in test__hists_filter() 287 hists->stats.total_period == 1000); in test__hists_filter() 318 hists->stats.total_period == 1000); in test__hists_filter()
|
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/ |
H A D | hva-debugfs.c | 136 dbg->total_period += period; in hva_dbg_perf_begin() 241 div = (u64)dbg->total_period; in hva_dbg_perf_compute() 248 if (dbg->total_period > 0) { in hva_dbg_perf_compute() 250 do_div(div, dbg->total_period); in hva_dbg_perf_compute() 256 if (dbg->total_period > 0) { in hva_dbg_perf_compute() 263 do_div(div, dbg->total_period); in hva_dbg_perf_compute()
|
H A D | hva.h | 170 * @total_period: total encoding periods in 0.1ms 195 u32 total_period; member
|
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/hva/ |
H A D | hva-debugfs.c | 136 dbg->total_period += period; in hva_dbg_perf_begin() 241 div = (u64)dbg->total_period; in hva_dbg_perf_compute() 248 if (dbg->total_period > 0) { in hva_dbg_perf_compute() 250 do_div(div, dbg->total_period); in hva_dbg_perf_compute() 256 if (dbg->total_period > 0) { in hva_dbg_perf_compute() 263 do_div(div, dbg->total_period); in hva_dbg_perf_compute()
|
H A D | hva.h | 170 * @total_period: total encoding periods in 0.1ms 195 u32 total_period; member
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-kcopyd.c | 99 * When total_period >= (1 << ACCOUNT_INTERVAL_SHIFT) the counters are divided 141 t->total_period += difference; in io_job_start() 146 if (unlikely(t->io_period > t->total_period)) in io_job_start() 147 t->io_period = t->total_period; in io_job_start() 149 if (unlikely(t->total_period >= (1 << ACCOUNT_INTERVAL_SHIFT))) { in io_job_start() 150 int shift = fls(t->total_period >> ACCOUNT_INTERVAL_SHIFT); in io_job_start() 151 t->total_period >>= shift; in io_job_start() 155 skew = t->io_period - throttle * t->total_period / 100; in io_job_start() 192 t->total_period += difference; in io_job_finish() 197 if (unlikely(t->io_period > t->total_period)) in io_job_finish() [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-kcopyd.c | 102 * When total_period >= (1 << ACCOUNT_INTERVAL_SHIFT) the counters are divided 144 t->total_period += difference; in io_job_start() 149 if (unlikely(t->io_period > t->total_period)) in io_job_start() 150 t->io_period = t->total_period; in io_job_start() 152 if (unlikely(t->total_period >= (1 << ACCOUNT_INTERVAL_SHIFT))) { in io_job_start() 153 int shift = fls(t->total_period >> ACCOUNT_INTERVAL_SHIFT); in io_job_start() 155 t->total_period >>= shift; in io_job_start() 159 skew = t->io_period - throttle * t->total_period / 100; in io_job_start() 196 t->total_period += difference; in io_job_finish() 201 if (unlikely(t->io_period > t->total_period)) in io_job_finish() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | sort.h | 191 u64 total_period = hists__total_period(he->hists); in hist_entry__get_percent_limit() local 193 if (unlikely(total_period == 0)) in hist_entry__get_percent_limit() 199 return period * 100.0 / total_period; in hist_entry__get_percent_limit()
|
H A D | events_stats.h | 23 * The total_period is needed because by default auto-freq is used, so 26 * perf_record_sample.period and stash the result in total_period. 29 u64 total_period; member
|
H A D | hist.c | 329 hists->stats.total_period -= diff; in hists__decay_entry() 1702 hists->stats.total_period = 0; in hists__reset_stats() 1719 hists->stats.total_period += h->stat.period; in hists__inc_stats() 1729 hists->stats.total_period = 0; in hierarchy_recalc_total_periods() 1741 hists->stats.total_period += he->stat.period; in hierarchy_recalc_total_periods() 2678 hists->stats.total_period; in hists__total_period() 2689 u64 nr_events = hists->stats.total_period; in __hists__scnprintf_title() 2716 nr_events += pos_hists->stats.total_period; in __hists__scnprintf_title()
|
H A D | annotate.c | 2133 if (hists->stats.total_period) in calc_percent() 2134 data->percent[PERCENT_PERIOD_GLOBAL] = 100.0 * period / hists->stats.total_period; in calc_percent()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | sort.h | 196 u64 total_period = hists__total_period(he->hists); in hist_entry__get_percent_limit() local 198 if (unlikely(total_period == 0)) in hist_entry__get_percent_limit() 204 return period * 100.0 / total_period; in hist_entry__get_percent_limit()
|
H A D | events_stats.h | 23 * The total_period is needed because by default auto-freq is used, so 26 * perf_record_sample.period and stash the result in total_period. 46 u64 total_period; member
|
H A D | hist.c | 339 hists->stats.total_period -= diff; in hists__decay_entry() 1744 hists->stats.total_period = 0; in hists__reset_stats() 1761 hists->stats.total_period += h->stat.period; in hists__inc_stats() 1771 hists->stats.total_period = 0; in hierarchy_recalc_total_periods() 1783 hists->stats.total_period += he->stat.period; in hierarchy_recalc_total_periods() 2741 hists->stats.total_period; in hists__total_period() 2752 u64 nr_events = hists->stats.total_period; in __hists__scnprintf_title() 2779 nr_events += pos_hists->stats.total_period; in __hists__scnprintf_title()
|
H A D | annotate.c | 2260 if (hists->stats.total_period) in calc_percent() 2261 data->percent[PERCENT_PERIOD_GLOBAL] = 100.0 * period / hists->stats.total_period; in calc_percent()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | dm-kcopyd.h | 29 unsigned total_period; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | dm-kcopyd.h | 30 unsigned int total_period; member
|
/kernel/linux/linux-5.10/tools/perf/ui/stdio/ |
H A D | hist.c | 592 u64 total_period = hists->stats.total_period; in hist_entry__fprintf() local 611 callchain_ret = hist_entry_callchain__fprintf(he, total_period, in hist_entry__fprintf()
|
/kernel/linux/linux-6.6/tools/perf/ui/stdio/ |
H A D | hist.c | 592 u64 total_period = hists->stats.total_period; in hist_entry__fprintf() local 611 callchain_ret = hist_entry_callchain__fprintf(he, total_period, in hist_entry__fprintf()
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-report.c | 451 u64 nr_events = hists->stats.total_period; in hists__fprintf_nr_sample_events() 479 nr_events += pos_hists->stats.total_period; in hists__fprintf_nr_sample_events()
|
H A D | builtin-diff.c | 314 u64 he_total = he->hists->stats.total_period; in formula_delta() 315 u64 pair_total = pair->hists->stats.total_period; in formula_delta() 454 * The total_period is updated here before going to the output in diff__process_sample_event() 459 hists->stats.total_period += sample->period; in diff__process_sample_event()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-diff.c | 314 u64 he_total = he->hists->stats.total_period; in formula_delta() 315 u64 pair_total = pair->hists->stats.total_period; in formula_delta() 456 * The total_period is updated here before going to the output in diff__process_sample_event() 461 hists->stats.total_period += sample->period; in diff__process_sample_event()
|
H A D | builtin-report.c | 477 u64 nr_events = hists->stats.total_period; in hists__fprintf_nr_sample_events() 505 nr_events += pos_hists->stats.total_period; in hists__fprintf_nr_sample_events()
|