• Home
  • Raw
  • Download

Lines Matching refs:top

23 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size)  in perf_top__header_snprintf()  argument
28 struct record_opts *opts = &top->record_opts; in perf_top__header_snprintf()
32 if (top->samples) { in perf_top__header_snprintf()
33 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf()
34 ksamples_per_sec = top->kernel_samples / top->delay_secs; in perf_top__header_snprintf()
35 esamples_percent = (100.0 * top->exact_samples) / top->samples; in perf_top__header_snprintf()
50 top->lost, top->lost_total, top->drop, top->drop_total); in perf_top__header_snprintf()
52 float us_samples_per_sec = top->us_samples / top->delay_secs; in perf_top__header_snprintf()
53 float guest_kernel_samples_per_sec = top->guest_kernel_samples / top->delay_secs; in perf_top__header_snprintf()
54 float guest_us_samples_per_sec = top->guest_us_samples / top->delay_secs; in perf_top__header_snprintf()
73 if (top->evlist->core.nr_entries == 1) { in perf_top__header_snprintf()
74 struct evsel *first = evlist__first(top->evlist); in perf_top__header_snprintf()
80 ret += SNPRINTF(bf + ret, size - ret, "%s", perf_evsel__name(top->sym_evsel)); in perf_top__header_snprintf()
98 top->evlist->core.cpus->nr > 1 ? "s" : "", in perf_top__header_snprintf()
105 top->evlist->core.cpus->nr, in perf_top__header_snprintf()
106 top->evlist->core.cpus->nr > 1 ? "s" : ""); in perf_top__header_snprintf()
109 perf_top__reset_sample_counters(top); in perf_top__header_snprintf()
113 void perf_top__reset_sample_counters(struct perf_top *top) in perf_top__reset_sample_counters() argument
115 top->samples = top->us_samples = top->kernel_samples = in perf_top__reset_sample_counters()
116 top->exact_samples = top->guest_kernel_samples = in perf_top__reset_sample_counters()
117 top->guest_us_samples = top->lost = top->drop = 0; in perf_top__reset_sample_counters()