Searched refs:nr_samples (Results 1 – 10 of 10) sorted by relevance
/tools/perf/tests/ |
D | sw-clock.c | 32 int nr_samples = 0; in __test__sw_clock_freq() local 119 nr_samples++; in __test__sw_clock_freq() 126 if ((u64) nr_samples == total_periods) { in __test__sw_clock_freq() 128 nr_samples); in __test__sw_clock_freq()
|
D | hists_link.c | 129 static int find_sample(struct sample *samples, size_t nr_samples, in find_sample() argument 132 while (nr_samples--) { in find_sample()
|
/tools/perf/bench/ |
D | inject-buildid.c | 33 static unsigned int nr_samples = 100; /* samples per mmap */ variable 61 OPT_UINTEGER('n', "nr-samples", &nr_samples, 372 for (k = 0; k < nr_samples; k++) { in inject_build_id() 438 time_average = avg_stats(&time_stats) / (nr_mmaps * (nr_samples + 2)); in do_inject_loop() 439 time_stddev = stddev_stats(&time_stats) / (nr_mmaps * (nr_samples + 2)); in do_inject_loop()
|
/tools/perf/ui/gtk/ |
D | annotate.c | 42 if (!symbol_conf.event_group && !symhist->addr[dl->al.offset].nr_samples) in perf_gtk__get_percent() 45 percent = 100.0 * symhist->addr[dl->al.offset].nr_samples / symhist->nr_samples; in perf_gtk__get_percent()
|
/tools/perf/util/ |
D | annotate.h | 115 u64 nr_samples; member 229 u64 nr_samples; member
|
D | annotate.c | 899 h->nr_samples++; in __symbol__inc_addr_samples() 900 h->addr[offset].nr_samples++; in __symbol__inc_addr_samples() 907 h->addr[offset].nr_samples, h->addr[offset].period); in __symbol__inc_addr_samples() 1430 data->he.nr_samples); in annotation_line__print() 2108 hits += sym_hist->addr[offset].nr_samples; in calc_percent() 2113 if (sym_hist->nr_samples) { in calc_percent() 2115 data->he.nr_samples = hits; in calc_percent() 2116 data->percent[PERCENT_HITS_LOCAL] = 100.0 * hits / sym_hist->nr_samples; in calc_percent() 2337 if (h->addr[offset].nr_samples != 0) in symbol__annotate_hits() 2339 sym->start + offset, h->addr[offset].nr_samples); in symbol__annotate_hits() [all …]
|
D | hist.c | 2688 unsigned long nr_samples = hists->stats.nr_events[PERF_RECORD_SAMPLE]; in __hists__scnprintf_title() local 2698 nr_samples = hists->stats.nr_non_filtered_samples; in __hists__scnprintf_title() 2712 nr_samples += pos_hists->stats.nr_non_filtered_samples; in __hists__scnprintf_title() 2715 nr_samples += pos_hists->stats.nr_events[PERF_RECORD_SAMPLE]; in __hists__scnprintf_title() 2728 nr_samples = convert_unit(nr_samples, &unit); in __hists__scnprintf_title() 2731 nr_samples, unit, evsel->core.nr_members > 1 ? "s" : "", in __hists__scnprintf_title()
|
/tools/perf/ |
D | builtin-annotate.c | 428 u32 nr_samples = hists->stats.nr_events[PERF_RECORD_SAMPLE]; in __cmd_annotate() local 430 if (nr_samples > 0) { in __cmd_annotate() 431 total_nr_samples += nr_samples; in __cmd_annotate()
|
D | builtin-report.c | 450 unsigned long nr_samples = hists->stats.nr_events[PERF_RECORD_SAMPLE]; in hists__fprintf_nr_sample_events() local 461 nr_samples = hists->stats.nr_non_filtered_samples; in hists__fprintf_nr_sample_events() 475 nr_samples += pos_hists->stats.nr_non_filtered_samples; in hists__fprintf_nr_sample_events() 478 nr_samples += pos_hists->stats.nr_events[PERF_RECORD_SAMPLE]; in hists__fprintf_nr_sample_events() 484 nr_samples = convert_unit(nr_samples, &unit); in hists__fprintf_nr_sample_events() 485 ret = fprintf(fp, "# Samples: %lu%c", nr_samples, unit); in hists__fprintf_nr_sample_events()
|
/tools/perf/ui/browsers/ |
D | hists.c | 3657 unsigned long nr_samples = hists->stats.nr_events[PERF_RECORD_SAMPLE]; in block_hists_browser__title() local 3660 ret = scnprintf(bf, size, "# Samples: %lu", nr_samples); in block_hists_browser__title()
|