Home
last modified time | relevance | path

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

123

/tools/perf/tests/
Dhists_output.c54 struct perf_sample sample = { .period = 100, }; in add_hist_entries()
170 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1()
176 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
182 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1()
188 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test1()
194 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
200 !strcmp(SYM(he), "schedule") && he->stat.period == 100); in test1()
206 !strcmp(SYM(he), "free") && he->stat.period == 100); in test1()
212 !strcmp(SYM(he), "malloc") && he->stat.period == 100); in test1()
218 !strcmp(SYM(he), "cmd_record") && he->stat.period == 100); in test1()
[all …]
Dhists_common.c185 he->ms.sym->name, he->stat.period); in print_hists_in()
212 he->ms.sym->name, he->stat.period, in print_hists_out()
213 he->stat_acc ? he->stat_acc->period : 0); in print_hists_out()
Dhists_cumulate.c84 struct perf_sample sample = { .period = 1000, }; in add_hist_entries()
210 TEST_ASSERT_VAL(buf, he->stat.period == expected[i].self && in do_test()
216 TEST_ASSERT_VAL(buf, he->stat_acc->period == expected[i].children); in do_test()
Dsw-clock.c118 total_periods += sample.period; in __test__sw_clock_freq()
Dsample-parsing.c66 COMP(period); in samples_same()
207 .period = 108, in do_test()
/tools/lib/perf/Documentation/
Dlibperf-sampling.txt23 cpu 0, pid 0, tid 0, ip ffffffffad06c4e6, period 1
24 cpu 0, pid 4465, tid 4469, ip ffffffffad118748, period 18322959
25 cpu 0, pid 0, tid 0, ip ffffffffad115722, period 33544846
26 cpu 0, pid 4465, tid 4470, ip 7f84fe0cdad6, period 23687474
27 cpu 0, pid 0, tid 0, ip ffffffffad9e0349, period 34255790
28 cpu 0, pid 4465, tid 4469, ip ffffffffad136581, period 38664069
29 cpu 0, pid 0, tid 0, ip ffffffffad9e55e2, period 21922384
30 cpu 0, pid 4465, tid 4470, ip 7f84fe0ebebf, period 17655175
193 86 __u64 ip, period, *array;
210 103 period = *array;
[all …]
/tools/perf/tests/attr/
Dtest-record-group23 args = --no-bpf-event -e '{cycles/period=1234000/,instructions/period=6789000/}:S' kill >/dev/nu…
DREADME52 perf record -e '{cycles/period=1/,instructions/period=2/}:S' kill (test-record-group2)
56 perf record -c 100 -P kill (test-record-period)
57 perf record -c 1 --pfm-events=cycles:period=2 (test-record-pfm-period)
Dtest-record-pfm-period3 args = --no-bpf-event -c 10000 --pfm-events=cycles:period=77777 kill >/dev/null 2>&1
/tools/perf/util/
Dsort.h47 u64 period; member
190 u64 period = he->stat.period; in hist_entry__get_percent_limit() local
197 period = he->stat_acc->period; in hist_entry__get_percent_limit()
199 return period * 100.0 / total_period; in hist_entry__get_percent_limit()
Dcallchain.c632 u64 period) in add_child() argument
653 new->hit = period; in add_child()
792 u64 idx_parents, u64 idx_local, u64 period) in split_add_child() argument
829 parent->children_hit += period; in split_add_child()
834 new = add_child(parent, cursor, period); in split_add_child()
855 parent->hit = period; in split_add_child()
864 u64 period);
869 u64 period) in append_chain_children() argument
888 ret = append_chain(rnode, cursor, period); in append_chain_children()
900 rnode = add_child(root, cursor, period); in append_chain_children()
[all …]
Dhist.c256 unsigned int cpumode, u64 period) in he_stat__add_cpumode_period() argument
260 he_stat->period_sys += period; in he_stat__add_cpumode_period()
263 he_stat->period_us += period; in he_stat__add_cpumode_period()
266 he_stat->period_guest_sys += period; in he_stat__add_cpumode_period()
269 he_stat->period_guest_us += period; in he_stat__add_cpumode_period()
284 static void he_stat__add_period(struct he_stat *he_stat, u64 period, in he_stat__add_period() argument
288 he_stat->period += period; in he_stat__add_period()
295 dest->period += src->period; in he_stat__add_stat()
306 he_stat->period = (he_stat->period * 7) / 8; in he_stat__decay()
315 u64 prev_period = he->stat.period; in hists__decay_entry()
[all …]
Devsel_config.h37 u64 period; member
Drecord.h29 bool period; member
Dannotate.h116 u64 period; member
230 u64 period; member
/tools/lib/perf/Documentation/examples/
Dsampling.c86 __u64 ip, period, *array; in main() local
103 period = *array; in main()
106 cpu, pid, tid, ip, period); in main()
/tools/perf/Documentation/
Dperf-annotate.txt100 --show-total-period:: Show a column with the sum of periods.
129 global-period, local-period, global-hits, local-hits
133 The period/hits keywords set the base the percentage is computed
134 on - the samples period or the number of samples (hits).
Dperf-diff.txt104 --period::
105 Show period values for both compared hist entries.
254 - period_percent being the % of the hist entry period value within
269 r = A->period / B->period
275 - period being the hist entry period value
281 d = B->period * WEIGHT-A - A->period * WEIGHT-B
286 - period being the hist entry period value
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-report.txt108 - period: Raw number of event count of sample
185 overhead, overhead_sys, overhead_us, overhead_children, sample and period.
192 field(s) to the default field order. For example: perf report -F +period,sample.
259 - period: display event period
345 --show-total-period:: Show a column with the sum of periods.
540 global-period, local-period, global-hits, local-hits
544 The period/hits keywords set the base the percentage is computed
545 on - the samples period or the number of samples (hits).
/tools/perf/
Dbuiltin-diff.c272 static double period_percent(struct hist_entry *he, u64 period) in period_percent() argument
276 return (period * 100.0) / total; in period_percent()
281 double old_percent = period_percent(he, he->stat.period); in compute_delta()
282 double new_percent = period_percent(pair, pair->stat.period); in compute_delta()
291 double old_period = he->stat.period ?: 1; in compute_ratio()
292 double new_period = pair->stat.period; in compute_ratio()
301 u64 old_period = he->stat.period; in compute_wdiff()
302 u64 new_period = pair->stat.period; in compute_wdiff()
324 pair->stat.period, pair_total, in formula_delta()
325 he->stat.period, he_total); in formula_delta()
[all …]
/tools/lib/perf/include/internal/
Devsel.h34 u64 period; member
/tools/perf/ui/
Dhist.c54 u64 period = get_field(pair); in __hpp__fmt() local
79 100.0 * period / total); in __hpp__fmt()
82 len, period); in __hpp__fmt()
431 HPP_PERCENT_FNS(overhead, period) in HPP_PERCENT_FNS() argument
436 HPP_PERCENT_ACC_FNS(overhead_acc, period) in HPP_PERCENT_FNS()
439 HPP_RAW_FNS(period, period) in HPP_PERCENT_FNS()
510 HPP__PRINT_FNS("Period", period, PERIOD)
/tools/perf/ui/gtk/
Dhists.c71 __HPP_COLOR_PERCENT_FN(overhead, period) in __HPP_COLOR_PERCENT_FN() argument
76 __HPP_COLOR_ACC_PERCENT_FN(overhead_acc, period) in __HPP_COLOR_PERCENT_FN()
391 h->stat_acc->period : h->stat.period; in perf_gtk__show_hists()
488 he->stat_acc->period : he->stat.period; in perf_gtk__add_hierarchy_entries()
/tools/testing/selftests/ptp/
Dtestptp.c423 perout_request.period.sec = perout / NSEC_PER_SEC; in main()
424 perout_request.period.nsec = perout % NSEC_PER_SEC; in main()

123