Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 25 of 36) sorted by relevance

12

/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c19 unsigned long long timing(clockid_t clk_id, unsigned long long samples) in timing() argument
27 for (i = 0; i < samples; i++) { in timing()
52 unsigned long long samples = 1 << i; in calibrate() local
55 if (timing(CLOCK_REALTIME, samples) / 1000000000ULL > 5) in calibrate()
56 return samples; in calibrate()
70 unsigned long long samples; in main() local
74 samples = strtoull(argv[1], NULL, 0); in main()
76 samples = calibrate(); in main()
78 printf("Benchmarking %llu samples...\n", samples); in main()
80 native = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples; in main()
[all …]
/tools/testing/selftests/timers/
Dfreq-step.c111 static void regress(struct sample *samples, int n, double *intercept, in regress() argument
120 x = samples[i].time; in regress()
121 y = samples[i].offset; in regress()
135 x = samples[i].time; in regress()
136 y = samples[i].offset; in regress()
148 struct sample samples[SAMPLES]; in run_test() local
169 get_sample(&samples[i]); in run_test()
173 regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1); in run_test()
180 regress(samples, SAMPLES / 2, &intercept, &slope, &stddev1, &max1); in run_test()
184 regress(samples + SAMPLES / 2, SAMPLES / 2, &intercept, &slope, in run_test()
/tools/perf/Documentation/
Dperf-annotate.txt47 --show-nr-samples::
48 Show the number of samples for each symbol
87 samples, TAB/UNTAB cycles through the lines with more samples.
92 --cpu=<cpu>:: Only report samples for the list of CPUs provided. Multiple CPUs can
94 CPUs are specified with -: 0-2. Default is to report samples on all
128 on - the samples period or the number of samples (hits).
Dperf-diff.txt23 If no parameters are passed the samples will be sorted by dso and symbol.
123 Analyze samples within given time window. It supports time
145 It also supports analyzing samples within a given time window
169 --cpu:: Only diff samples for the list of CPUs provided. Multiple CPUs can
171 CPUs are specified with -: 0-2. Default is to report samples on all
175 Only diff samples for given process ID (comma separated list).
178 Only diff samples for given thread ID (comma separated list).
183 file is iterated for samples. All other perf.data files specified on
187 All samples from non-baseline perf.data files, that do not match any
191 Example files samples:
[all …]
Dperf-mem.txt44 --dump-raw-samples::
45 Dump the raw decoded samples on the screen in a format that is easy to parse with
50 Specify the field separator used when dump raw samples (-D option). By default,
Dperf-report.txt33 --show-nr-samples::
34 Show the number of samples for each symbol
92 - srcfile: file name of the source file of the samples. Requires dwarf
108 - time: Separate the samples by time stamp with the resolution specified by
329 --cpu:: Only report samples for the list of CPUs provided. Multiple CPUs can
331 CPUs are specified with -: 0-2. Default is to report samples on all
382 Use the data addresses of samples in addition to instruction addresses
414 Only analyze samples within given time window: <start>,<stop>. Times
480 Only report the samples on the processor socket that match with this filter
482 --samples=N::
[all …]
Dperf-data.txt43 Default is off, only convert samples.
Dcallchain-overhead-calculation.txt18 can find which function has the most overhead even if samples are
43 Suppose all samples are recorded in 'foo' and 'bar' only. When it's
Dtips.txt15 Show individual samples with: perf script
39 To separate samples by time use perf report --sort time,overhead,sym
Dperf-kvm.txt61 handled time, samples, and so on.
110 Sorting key. Possible values: sample (default, sort by samples
147 Sorting key. Possible values: sample (default, sort by samples
Dperf-kmem.txt69 Only analyze samples within given time window: <start>,<stop>. Times
Dperf-top.txt140 --show-nr-samples::
141 Show a column with the number of samples.
252 as PERF_RECORD_MMAP which makes 'perf top' unable to resolve samples, leading
253 to lots of unknown samples appearing on the UI. Enable this if you are in such
Dexamples.txt75 [ perf record: Captured and wrote 0.267 MB perf.data (~11679 samples) ]
129 [ perf record: Captured and wrote 0.963 MB perf.data (~42069 samples) ]
Dperf-script.txt113 Do various checks like samples ordering and lost events.
274 --cpu:: Only report samples for the list of CPUs provided. Multiple CPUs can
276 CPUs are specified with -: 0-2. Default is to report samples on all
363 Only analyze samples within given time window: <start>,<stop>. Times
Dperf-timechart.txt104 [ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ]
Dperf-sched.txt156 Only analyze samples within given time window: <start>,<stop>. Times
/tools/perf/util/
Dtop.c32 if (top->samples) { in perf_top__header_snprintf()
33 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf()
35 esamples_percent = (100.0 * top->exact_samples) / top->samples; in perf_top__header_snprintf()
115 top->samples = top->us_samples = top->kernel_samples = in perf_top__reset_sample_counters()
Dtop.h29 u64 samples, lost, lost_total, drop, drop_total; member
/tools/perf/tests/
Dhists_link.c129 static int find_sample(struct sample *samples, size_t nr_samples, in find_sample() argument
133 if (samples->thread == t && samples->map == m && in find_sample()
134 samples->sym == s) in find_sample()
136 samples++; in find_sample()
/tools/testing/selftests/ftrace/
DREADME73 There are some sample test scripts for result code under samples/.
74 You can also run samples as below:
76 # ./ftracetest samples/
/tools/perf/
Dbuiltin-record.c92 unsigned long long samples; member
321 rec->samples++; in record__aio_push()
495 rec->samples++; in record__pushfn()
579 rec->samples++; in record__auxtrace_mmap_read()
596 rec->samples++; in record__auxtrace_mmap_read_snapshot()
837 rec->samples++; in process_sample_event()
1124 rec->samples = 0; in record__switch_output()
1546 unsigned long long hits = rec->samples; in __cmd_record()
1615 if (hits == rec->samples) { in __cmd_record()
1691 rec->samples = 0; in __cmd_record()
[all …]
Dbuiltin-inject.c46 struct list_head samples; member
476 list_for_each_entry(ent, &inject->samples, node) { in perf_inject__sched_process_exit()
507 list_add(&ent->node, &inject->samples); in perf_inject__sched_switch()
523 list_for_each_entry(ent, &inject->samples, node) { in perf_inject__sched_stat()
773 .samples = LIST_HEAD_INIT(inject.samples), in cmd_inject()
/tools/testing/selftests/bpf/progs/
Dstrobemeta.h212 } samples SEC(".maps");
529 bpf_perf_event_output(ctx, &samples, 0, sample, 1 + sample_size); in on_event()
/tools/thermal/tmon/
Dsysfs.c482 static unsigned long samples; in update_thermal_data() local
494 fprintf(tmon_log, "%lu ", ++samples); in update_thermal_data()
/tools/perf/tests/attr/
DREADME54 perf record -n kill (test-record-no-samples)

12