Home
last modified time | relevance | path

Searched refs:period (Results 1 – 25 of 48) sorted by relevance

12

/tools/perf/tests/
Dhists_output.c50 struct perf_sample sample = { .period = 100, }; in add_hist_entries()
171 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1()
177 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
183 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1()
189 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test1()
195 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
201 !strcmp(SYM(he), "schedule") && he->stat.period == 100); in test1()
207 !strcmp(SYM(he), "free") && he->stat.period == 100); in test1()
213 !strcmp(SYM(he), "malloc") && he->stat.period == 100); in test1()
219 !strcmp(SYM(he), "cmd_record") && he->stat.period == 100); in test1()
[all …]
Dhists_common.c179 he->ms.sym->name, he->stat.period); in print_hists_in()
206 he->ms.sym->name, he->stat.period, in print_hists_out()
207 he->stat_acc ? he->stat_acc->period : 0); in print_hists_out()
Dsw-clock.c105 total_periods += sample.period; in __test__sw_clock_freq()
Dhists_cumulate.c80 struct perf_sample sample = { .period = 1000, }; in add_hist_entries()
211 TEST_ASSERT_VAL(buf, he->stat.period == expected[i].self && in do_test()
217 TEST_ASSERT_VAL(buf, he->stat_acc->period == expected[i].children); in do_test()
Dsample-parsing.c58 COMP(period); in samples_same()
180 .period = 108, in do_test()
/tools/perf/util/
Dsort.h51 u64 period; member
148 u64 period = he->stat.period; in hist_entry__get_percent_limit() local
155 period = he->stat_acc->period; in hist_entry__get_percent_limit()
157 return period * 100.0 / total_period; in hist_entry__get_percent_limit()
Dcallchain.c425 u64 period) in add_child() argument
433 new->hit = period; in add_child()
458 u64 idx_parents, u64 idx_local, u64 period) in split_add_child() argument
490 parent->children_hit += period; in split_add_child()
493 new = add_child(parent, cursor, period); in split_add_child()
512 parent->hit = period; in split_add_child()
519 u64 period);
524 u64 period) in append_chain_children() argument
543 ret = append_chain(rnode, cursor, period); in append_chain_children()
553 rnode = add_child(root, cursor, period); in append_chain_children()
[all …]
Dhist.c201 unsigned int cpumode, u64 period) in he_stat__add_cpumode_period() argument
205 he_stat->period_sys += period; in he_stat__add_cpumode_period()
208 he_stat->period_us += period; in he_stat__add_cpumode_period()
211 he_stat->period_guest_sys += period; in he_stat__add_cpumode_period()
214 he_stat->period_guest_us += period; in he_stat__add_cpumode_period()
221 static void he_stat__add_period(struct he_stat *he_stat, u64 period, in he_stat__add_period() argument
225 he_stat->period += period; in he_stat__add_period()
232 dest->period += src->period; in he_stat__add_stat()
243 he_stat->period = (he_stat->period * 7) / 8; in he_stat__decay()
250 u64 prev_period = he->stat.period; in hists__decay_entry()
[all …]
Dintel-pt.c730 if (pt->synth_opts.period) { in intel_pt_alloc_queue()
735 params.period = pt->synth_opts.period; in intel_pt_alloc_queue()
739 params.period = pt->synth_opts.period; in intel_pt_alloc_queue()
743 params.period = intel_pt_ns_to_ticks(pt, in intel_pt_alloc_queue()
744 pt->synth_opts.period); in intel_pt_alloc_queue()
751 if (!params.period) { in intel_pt_alloc_queue()
753 params.period = 1; in intel_pt_alloc_queue()
1007 sample.period = 1; in intel_pt_synth_branch_sample()
1063 sample.period = ptq->state->tot_insn_cnt - ptq->last_insn_cnt; in intel_pt_synth_instruction_sample()
1120 sample.period = 1; in intel_pt_synth_transaction_sample()
[all …]
Devsel.h29 u64 period; member
54 u64 period; member
Dcallchain.h150 u64 period);
/tools/perf/
Dbuiltin-diff.c220 static double period_percent(struct hist_entry *he, u64 period) in period_percent() argument
224 return (period * 100.0) / total; in period_percent()
229 double old_percent = period_percent(he, he->stat.period); in compute_delta()
230 double new_percent = period_percent(pair, pair->stat.period); in compute_delta()
239 double old_period = he->stat.period ?: 1; in compute_ratio()
240 double new_period = pair->stat.period; in compute_ratio()
249 u64 old_period = he->stat.period; in compute_wdiff()
250 u64 new_period = pair->stat.period; in compute_wdiff()
272 pair->stat.period, pair_total, in formula_delta()
273 he->stat.period, he_total); in formula_delta()
[all …]
Dperf.h58 bool period; member
/tools/perf/Documentation/
Dperf-diff.txt93 --period::
94 Show period values for both compared hist entries.
177 - period_percent being the % of the hist entry period value within
188 r = A->period / B->period
194 - period being the hist entry period value
200 d = B->period * WEIGHT-A - A->period * WEIGHT-B
205 - period being the hist entry period value
Ditrace.txt13 In addition, the period (default 100000) for instructions events
Dcallchain-overhead-calculation.txt5 adding all period values of the entry - usually a function (symbol).
9 The 'children' overhead is calculated by adding all period values of
Dperf-top.txt26 Event period to sample.
119 local_weight, abort, in_tx, transaction, overhead, sample, period.
125 overhead, overhead_sys, overhead_us, overhead_children, sample and period.
135 --show-total-period::
Dperf-record.txt55 - 'period': Set event sampling period
121 Event period to sample.
196 --period::
197 Record the sample period.
Dintel-pt.txt75 Because samples are synthesized after-the-fact, the sampling period can be
82 Beware the smaller the period, the more samples that are produced, and the
86 distort the statistical value of the sampling as the sampling period becomes
272 then a large PSB period can be used.
274 Because a TSC packet is produced with PSB, the PSB period can
694 In addition, the period of the "instructions" event can be specified. e.g.
698 sets the period to 10us i.e. one instruction sample is synthesized for each 10
709 For Intel PT, the default period is 100us.
711 Setting it to a zero period means "as often as possible".
713 In the case of Intel PT that is the same as a period of 1 and a unit of
/tools/perf/ui/
Dhist.c47 u64 period = get_field(pair); in __hpp__fmt() local
72 100.0 * period / total); in __hpp__fmt()
75 len, period); in __hpp__fmt()
357 HPP_PERCENT_FNS(overhead, period) in HPP_PERCENT_FNS() argument
362 HPP_PERCENT_ACC_FNS(overhead_acc, period) in HPP_PERCENT_FNS()
365 HPP_RAW_FNS(period, period) in HPP_PERCENT_FNS()
417 HPP__PRINT_FNS("Period", period)
/tools/perf/ui/gtk/
Dhists.c66 __HPP_COLOR_PERCENT_FN(overhead, period) in __HPP_COLOR_PERCENT_FN() argument
71 __HPP_COLOR_ACC_PERCENT_FN(overhead_acc, period) in __HPP_COLOR_PERCENT_FN()
255 h->stat_acc->period : h->stat.period; in perf_gtk__show_hists()
/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.h96 uint64_t period; member
Dintel-pt-decoder.c153 uint64_t period; member
189 uint64_t period; in intel_pt_setup_period() local
191 period = intel_pt_lower_power_of_2(decoder->period); in intel_pt_setup_period()
192 decoder->period_mask = ~(period - 1); in intel_pt_setup_period()
193 decoder->period_ticks = period; in intel_pt_setup_period()
222 decoder->period = params->period; in intel_pt_decoder_new()
880 return decoder->period - decoder->period_insn_cnt; in intel_pt_next_sample()
/tools/perf/ui/stdio/
Dhist.c38 int depth, int depth_mask, int period, in ipchain__fprintf_graph() argument
52 if (!period && i == depth - 1) { in ipchain__fprintf_graph()
271 he->stat_acc->period : he->stat.period, in hist_entry_callchain__fprintf()
/tools/perf/scripts/python/
Dexport-to-postgresql.py706 …ym_offset, ip, time, cpu, to_dso_id, to_symbol_id, to_sym_offset, to_ip, period, weight, transacti… argument
710 …e, 4, cpu, 8, to_dso_id, 8, to_symbol_id, 8, to_sym_offset, 8, to_ip, 8, period, 8, weight, 8, tra…

12