Home
last modified time | relevance | path

Searched refs:workload (Results 1 – 25 of 37) sorted by relevance

12

/tools/perf/tests/shell/
A Dstat_bpf_counters.sh7 workload="perf test -w sqrtloop"
44 …base_instructions=$(perf stat --no-big-num -e instructions -- $workload 2>&1 | awk '/instructions/…
45 …bpf_instructions=$(perf stat --no-big-num --bpf-counters -e instructions -- $workload 2>&1 | awk …
54 …num -e instructions/name=base_instructions/,instructions/name=bpf_instructions/b -- $workload 2>&1)
A Dtrace_summary.sh17 workload="true"
20 echo "testing: perf trace ${args} -- ${workload}"
21 perf trace ${args} -- ${workload} >${OUTPUT} 2>&1
A Dstat_metrics_values.sh14 workload="perf bench futex hash -r 2 -s"
22 $PYTHON $pythonvalidator -rule $rulefile -output_dir $tmpdir -wl "${workload}" \
A Dtest_intel_pt.sh24 workload="${temp_dir}/workload"
64 cat << _end_of_file_ | /usr/bin/cc -o "${workload}" -xc - -pthread && have_workload=true
255 $workload &
257 $workload &
/tools/perf/tests/
A Dperf-record.c114 err = sched__get_first_possible_cpu(evlist->workload.pid, &cpu_mask); in test__PERF_RECORD()
126 if (sched_setaffinity(evlist->workload.pid, cpu_mask_size, &cpu_mask) < 0) { in test__PERF_RECORD()
212 if ((pid_t)sample.pid != evlist->workload.pid) { in test__PERF_RECORD()
214 name, evlist->workload.pid, sample.pid); in test__PERF_RECORD()
218 if ((pid_t)sample.tid != evlist->workload.pid) { in test__PERF_RECORD()
220 name, evlist->workload.pid, sample.tid); in test__PERF_RECORD()
229 (pid_t)event->comm.pid != evlist->workload.pid) { in test__PERF_RECORD()
A Dbuiltin-test.c157 #define workloads__for_each(workload) \ argument
158 for (unsigned i = 0; i < ARRAY_SIZE(workloads) && ({ workload = workloads[i]; 1; }); i++)
782 const char *workload = NULL; in cmd_test() local
794 …OPT_STRING('w', "workload", &workload, "work", "workload to run for testing, use '--list-workloads… in cmd_test()
822 if (workload) in cmd_test()
823 return run_workload(workload, argc, argv); in cmd_test()
A Devent-times.c53 waitpid(evlist->workload.pid, NULL, 0); in detach__enable_on_exec()
/tools/perf/bench/
A Dfind-bit-bench.c34 static noinline void workload(int val) in workload() function
82 workload(bit); in do_for_each_set_bit()
97 workload(bit); in do_for_each_set_bit()
/tools/perf/tests/shell/lib/
A Dperf_metric_validation.py22 \tis {1} in workload(s): {2} \n\
31 \tis {1} in workload(s): {2}\n\
39 workload='true', metrics='', cputype='cpu'): argument
49 self.workloads = [x for x in workload.split(",") if x]
380 def _run_perf(self, metric, workload: str):
383 wl = workload.split()
392 def collect_perf(self, workload: str):
416 wl = workload
425 workload = self.workloads[self.wlidx]
427 data = self._run_perf(metric, workload)
[all …]
/tools/perf/Documentation/
A Dperf-test.txt57 --workload=::
58 Run a built-in workload, to list them use '--list-workloads', current ones include:
71 List the available workloads to use with -w/--workload.
A Dperf-sched.txt18 of an arbitrary workload.
21 and other scheduling properties of the workload.
43 'perf sched script' to see a detailed trace of the workload that
46 'perf sched replay' to simulate the workload that was recorded
48 that mimic the workload based on the events in the trace. These
50 of the workload as it occurred when it was recorded - and can repeat
54 workload captured via perf sched record. Columns stand for
237 repeat the workload n times (0: infinite). Default is 10.
A Dcpu-and-latency-overheads.txt51 flags. It shows fraction of (wall-clock) time the workload utilizes different
53 the workload utilizes only 1 core most of the time, but also has some
85 of a workload use '--latency --parallelism=1-2' flags.
A Dperf-timechart.txt6 perf-timechart - Tool to visualize total system behavior during a workload
18 of an arbitrary workload. By default timechart records only scheduler
A Dperf-kmem.txt18 record the kmem events of an arbitrary workload. Additional 'perf
A Dexamples.txt45 'repeat the workload N times' feature of perf stat:
65 Furthermore, these tracepoints can be used to sample the workload as
A Dperf-kvm.txt24 of an arbitrary workload.
27 of an arbitrary workload and save it into a perf data file. We set the
A Dtips.txt8 Save output of perf stat using: perf stat record <target workload>
64 To compare scalability of two workload samples use perf diff -c ratio file1 file2
A Dperf-kwork.txt18 of an arbitrary workload.
/tools/perf/util/
A Devlist.c81 evlist->workload.pid = -1; in evlist__init()
1428 evlist->workload.cork_fd = -1; in evlist__prepare_workload()
1440 evlist->workload.pid = fork(); in evlist__prepare_workload()
1441 if (evlist->workload.pid < 0) { in evlist__prepare_workload()
1446 if (!evlist->workload.pid) { in evlist__prepare_workload()
1546 if (evlist->workload.cork_fd >= 0) { in evlist__start_workload()
1556 close(evlist->workload.cork_fd); in evlist__start_workload()
1557 evlist->workload.cork_fd = -1; in evlist__start_workload()
1568 if (evlist->workload.cork_fd >= 0) { in evlist__cancel_workload()
1569 close(evlist->workload.cork_fd); in evlist__cancel_workload()
[all …]
A Dbpf_lock_contention.c341 if (target__none(target) && evlist->workload.pid > 0) { in lock_contention_prepare()
342 u32 pid = evlist->workload.pid; in lock_contention_prepare()
A Devlist.h69 } workload; member
A Dintel-tpebs.c175 workload_pid = t->evsel->evlist->workload.pid; in should_ignore_sample()
/tools/lib/perf/Documentation/
A Dlibperf-counting.txt35 * does some workload
158 From this moment events are counting and we can do our workload.
/tools/testing/selftests/net/rds/
A DREADME.txt7 corruption. A workload of 50000 hashes, each 64 characters in size,
/tools/sched_ext/
A DREADME.md12 the correct workload and with the correct tuning, they may be deployed in a
189 The approach demonstrated by this scheduler may be useful for any workload that

Completed in 31 milliseconds

12