/tools/perf/ |
D | builtin-stat.c | 682 static void print_noise_pct(double total, double avg) in print_noise_pct() argument 684 double pct = rel_stddev_stats(total, avg); in print_noise_pct() 803 double total, ratio = 0.0; in print_stalled_cycles_frontend() local 806 total = avg_stats(&runtime_cycles_stats[cpu]); in print_stalled_cycles_frontend() 808 if (total) in print_stalled_cycles_frontend() 809 ratio = avg / total * 100.0; in print_stalled_cycles_frontend() 822 double total, ratio = 0.0; in print_stalled_cycles_backend() local 825 total = avg_stats(&runtime_cycles_stats[cpu]); in print_stalled_cycles_backend() 827 if (total) in print_stalled_cycles_backend() 828 ratio = avg / total * 100.0; in print_stalled_cycles_backend() [all …]
|
D | builtin-lock.c | 687 static void print_bad_events(int bad, int total) in print_bad_events() argument 695 pr_info("bad: %d, total: %d\n", bad, total); in print_bad_events() 696 pr_info("bad rate: %.2f %%\n", (double)bad / (double)total * 100); in print_bad_events() 707 int bad, total; in print_result() local 720 bad = total = 0; in print_result() 722 total++; in print_result() 753 print_bad_events(bad, total); in print_result()
|
D | builtin-kvm.c | 138 event->total.time = 0; in clear_events_cache_stats() 139 init_stats(&event->total.stats); in clear_events_cache_stats() 191 init_stats(&event->total.stats); in kvm_alloc_init_event() 240 struct kvm_event_stats *kvm_stats = &event->total; in kvm_event_rel_stddev() 253 kvm_update_event_stats(&event->total, time_diff); in update_kvm_event() 429 return event->total.field; \
|
D | builtin-diff.c | 222 u64 total = hists__total_period(he->hists); in period_percent() local 224 return (period * 100.0) / total; in period_percent() 761 u64 total = hists__total_period(he->hists); in baseline_percent() local 763 return 100.0 * he->stat.period / total; in baseline_percent()
|
/tools/perf/ui/ |
D | progress.c | 25 void ui_progress__init(struct ui_progress *p, u64 total, const char *title) in ui_progress__init() argument 28 p->next = p->step = total / 16; in ui_progress__init() 29 p->total = total; in ui_progress__init()
|
D | progress.h | 10 u64 curr, next, step, total; member 13 void ui_progress__init(struct ui_progress *p, u64 total, const char *title);
|
D | hist.c | 30 u64 total = hists__total_period(hists); in __hpp__fmt() local 32 if (total) in __hpp__fmt() 33 percent = 100.0 * get_field(he) / total; in __hpp__fmt() 48 u64 total = hists__total_period(pair->hists); in __hpp__fmt() local 50 if (!total) in __hpp__fmt() 72 100.0 * period / total); in __hpp__fmt()
|
/tools/perf/ui/gtk/ |
D | progress.c | 12 double fraction = p->total ? 1.0 * p->curr / p->total : 0.0; in gtk_ui_progress__update() 35 snprintf(buf, sizeof(buf), "%"PRIu64" / %"PRIu64, p->curr, p->total); in gtk_ui_progress__update()
|
D | hists.c | 102 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain() argument 118 percent = 100.0 * hits / total; in perf_gtk__add_callchain() 147 child_total = total; in perf_gtk__add_callchain() 235 u64 total = hists__total_period(h->hists); in perf_gtk__show_hists() local 263 total = symbol_conf.cumulate_callchain ? in perf_gtk__show_hists() 267 sym_col, total); in perf_gtk__show_hists()
|
/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
D | Util.pm | 25 my ($total, $n) = @_; 27 return $total / $n;
|
/tools/perf/ui/tui/ |
D | progress.c | 18 if (p->total == 0) in tui_progress__update() 30 bar = ((SLtt_Screen_Cols - 2) * p->curr) / p->total; in tui_progress__update()
|
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | Util.py | 19 def avg(total, n): argument 20 return total / n
|
/tools/usb/usbip/src/ |
D | usbip_network.c | 111 ssize_t total = 0; in usbip_net_xmit() local 127 total += nbytes; in usbip_net_xmit() 131 return total; in usbip_net_xmit()
|
/tools/vm/ |
D | slabinfo.c | 423 unsigned long total; in slab_stats() local 474 total = s->deactivate_full + s->deactivate_empty + in slab_stats() 477 if (total) { in slab_stats() 481 s->deactivate_full, (s->deactivate_full * 100) / total); in slab_stats() 483 s->deactivate_empty, (s->deactivate_empty * 100) / total); in slab_stats() 485 s->deactivate_to_head, (s->deactivate_to_head * 100) / total); in slab_stats() 487 s->deactivate_to_tail, (s->deactivate_to_tail * 100) / total); in slab_stats() 489 s->deactivate_bypass, (s->deactivate_bypass * 100) / total); in slab_stats() 491 s->alloc_refill, (s->alloc_refill * 100) / total); in slab_stats() 493 s->alloc_node_mismatch, (s->alloc_node_mismatch * 100) / total); in slab_stats()
|
/tools/perf/util/ |
D | kvm-stat.h | 29 struct kvm_event_stats total; member
|
D | hist.h | 84 int total; member
|
D | probe-finder.c | 285 int bsize, boffs, total; in convert_variable_type() local 299 total = dwarf_bytesize(vr_die); in convert_variable_type() 300 if (boffs < 0 || total < 0) in convert_variable_type() 303 BYTES_TO_BITS(total)); in convert_variable_type()
|
D | hist.c | 581 iter->total = sample->branch_stack->nr; in iter_prepare_branch_entry() 606 if (iter->curr >= iter->total) in iter_next_branch_entry() 654 return iter->curr >= iter->total ? 0 : -1; in iter_finish_branch_entry()
|
/tools/perf/Documentation/ |
D | perf-script-perl.txt | 208 nsecs($secs, $nsecs) - returns total nsecs given secs/nsecs pair 212 avg($total, $n) - returns average given a sum and a total number of values
|
D | perf-top.txt | 135 --show-total-period:: 221 Annotation display filter (>= % of total).
|
D | perf-timechart.txt | 6 perf-timechart - Tool to visualize total system behavior during a workload
|
D | perf-script-python.txt | 388 total 32 612 nsecs(secs, nsecs) - returns total nsecs given secs/nsecs pair 616 avg(total, n) - returns average given a sum and a total number of values
|
D | perf-report.txt | 251 --show-total-period:: Show a column with the sum of periods.
|
/tools/perf/ui/browsers/ |
D | hists.c | 554 unsigned short row, u64 total, in hist_browser__show_callchain() argument 594 double percent = cumul * 100.0 / total; in hist_browser__show_callchain() 619 new_total = total; in hist_browser__show_callchain() 804 u64 total = hists__total_period(entry->hists); in hist_browser__show_entry() local 811 &entry->sorted_chain, 1, row, total, in hist_browser__show_entry() 1074 u64 total = hists__total_period(he->hists); in hist_browser__fprintf_callchain() local 1080 total = he->stat_acc->period; in hist_browser__fprintf_callchain() 1082 hist_browser__show_callchain(browser, &he->sorted_chain, 1, 0, total, in hist_browser__fprintf_callchain()
|