Home
last modified time | relevance | path

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

12

/tools/perf/util/
Dcallchain.c236 u64 period) in add_child() argument
244 new->hit = period; in add_child()
256 u64 idx_parents, u64 idx_local, u64 period) in split_add_child() argument
283 add_child(parent, cursor, period); in split_add_child()
284 parent->children_hit += period; in split_add_child()
286 parent->hit = period; in split_add_child()
293 u64 period);
298 u64 period) in append_chain_children() argument
304 unsigned int ret = append_chain(rnode, cursor, period); in append_chain_children()
310 add_child(root, cursor, period); in append_chain_children()
[all …]
Dhist.c177 unsigned int cpumode, u64 period) in hist_entry__add_cpumode_period() argument
181 he->stat.period_sys += period; in hist_entry__add_cpumode_period()
184 he->stat.period_us += period; in hist_entry__add_cpumode_period()
187 he->stat.period_guest_sys += period; in hist_entry__add_cpumode_period()
190 he->stat.period_guest_us += period; in hist_entry__add_cpumode_period()
197 static void he_stat__add_period(struct he_stat *he_stat, u64 period, in he_stat__add_period() argument
201 he_stat->period += period; in he_stat__add_period()
208 dest->period += src->period; in he_stat__add_stat()
219 he->stat.period = (he->stat.period * 7) / 8; in hist_entry__decay()
226 u64 prev_period = he->stat.period; in hists__decay_entry()
[all …]
Dhist.h84 struct symbol *parent, u64 period,
96 u64 period,
103 u64 period,
254 double perf_diff__period_percent(struct hist_entry *he, u64 period);
Dsort.h47 u64 period; member
Dcallchain.h101 u64 period);
Devent.h90 u64 period; member
Dparse-events.l168 period { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_PERIOD); }
Devsel.c543 if (opts->period) in perf_evsel__config()
1025 data->period = 1; in perf_evsel__parse_sample()
1094 data->period = *array; in perf_evsel__parse_sample()
1261 *array = sample->period; in perf_event__synthesize_sample()
/tools/perf/Documentation/
Dperf-diff.txt83 --period::
84 Show period values for both compared hist entries.
102 - period_percent being the % of the hist entry period value within
109 r = A->period / B->period
115 - period being the hist entry period value
121 d = B->period * WEIGHT-A - A->period * WEIGHT-B
126 - period being the hist entry period value
Dperf-top.txt26 Event period to sample.
121 --show-total-period::
Dperf-report.txt185 --show-total-period:: Show a column with the sum of periods.
Dperf-record.txt81 Event period to sample.
/tools/perf/
Dbuiltin-diff.c148 double perf_diff__period_percent(struct hist_entry *he, u64 period) in perf_diff__period_percent() argument
151 return (period * 100.0) / total; in perf_diff__period_percent()
156 double new_percent = perf_diff__period_percent(he, he->stat.period); in perf_diff__compute_delta()
157 double old_percent = perf_diff__period_percent(pair, pair->stat.period); in perf_diff__compute_delta()
166 double new_period = he->stat.period; in perf_diff__compute_ratio()
167 double old_period = pair->stat.period; in perf_diff__compute_ratio()
176 u64 new_period = he->stat.period; in perf_diff__compute_wdiff()
177 u64 old_period = pair->stat.period; in perf_diff__compute_wdiff()
192 he->stat.period, he->hists->stats.total_period, in formula_delta()
193 pair->stat.period, pair->hists->stats.total_period); in formula_delta()
[all …]
Dperf.h223 bool period; member
Dbuiltin-report.c155 sample->period); in perf_report__add_mem_hist_entry()
253 he = __hists__add_entry(&evsel->hists, al, parent, sample->period, in perf_evsel__add_hist_entry()
261 sample->period); in perf_evsel__add_hist_entry()
282 evsel->hists.stats.total_period += sample->period; in perf_evsel__add_hist_entry()
Dbuiltin-inject.c312 sample_sw.period = sample->period; in perf_inject__sched_stat()
Dbuiltin-annotate.c79 evsel->hists.stats.total_period += sample->period; in perf_evsel__add_sample()
Dbuiltin-top.c254 he = __hists__add_entry(&evsel->hists, al, NULL, sample->period, in perf_evsel__add_hist_entry()
792 sample->period); in perf_event__process_sample()
/tools/perf/ui/
Dhist.c40 u64 period = get_field(pair); in __hpp__fmt() local
60 fmt, 100.0 * period / total); in __hpp__fmt()
63 fmt, period); in __hpp__fmt()
151 HPP_PERCENT_FNS(overhead, "Overhead", period, 8, 8)
158 HPP_RAW_FNS(period, "Period", period, 12, 12)
179 u64 base_period = pair->stat.period; in baseline_percent()
223 u64 period = pair ? pair->stat.period : 0; in hpp__entry_period_baseline() local
226 return scnprintf(hpp->buf, hpp->size, fmt, period); in hpp__entry_period_baseline()
254 diff = perf_diff__period_percent(he, he->stat.period); in hpp__entry_delta()
373 HPP__PRINT_FNS(period),
/tools/perf/ui/gtk/
Dhists.c50 u64 period = get_field(pair); in __hpp__color_fmt() local
66 percent = 100.0 * period / total; in __hpp__color_fmt()
100 __HPP_COLOR_PERCENT_FN(overhead, period) in __HPP_COLOR_PERCENT_FN() argument
/tools/perf/tests/
Dsw-clock.c89 total_periods += sample.period; in __test__sw_clock_freq()
Dhists_link.c426 he->ms.sym->name, he->stat.period); in print_hists()
/tools/perf/ui/stdio/
Dhist.c38 int depth, int depth_mask, int period, in ipchain__fprintf_graph() argument
51 if (!period && i == depth - 1) { in ipchain__fprintf_graph()
275 return callchain__fprintf_graph(fp, &he->sorted_chain, he->stat.period, in hist_entry_callchain__fprintf()
/tools/perf/tests/attr/
DREADME55 perf record -c 100 -P kill (test-record-period)
/tools/perf/ui/browsers/
Dhists.c616 u64 period = get_field(pair); in __hpp__color_fmt() local
637 percent = 100.0 * period / total; in __hpp__color_fmt()
679 __HPP_COLOR_PERCENT_FN(overhead, period, __hpp__color_callchain) in __HPP_COLOR_PERCENT_FN() argument
1079 percent = (he->stat.period * 100.0) / browser->hists->stats.total_period; in hist_browser__fprintf_entry()
1090 printed += fprintf(fp, " %12" PRIu64, he->stat.period); in hist_browser__fprintf_entry()

12