| /tools/tracing/rtla/src/ |
| A D | timerlat.bpf.c | 89 unsigned long long latency, in update_summary() argument 96 map_set(map, SUMMARY_CURRENT, latency); in update_summary() 102 if (latency > map_get(map, SUMMARY_MAX)) in update_summary() 103 map_set(map, SUMMARY_MAX, latency); in update_summary() 106 map_set(map, SUMMARY_MIN, latency); in update_summary() 126 unsigned long long latency, latency_us; in handle_timerlat_sample() local 132 latency = tp_args->timer_latency / output_divisor; in handle_timerlat_sample() 134 bucket = latency / bucket_size; in handle_timerlat_sample() 138 update_summary(&summary_irq, latency, bucket); in handle_timerlat_sample() 144 update_summary(&summary_thread, latency, bucket); in handle_timerlat_sample() [all …]
|
| A D | timerlat_top.c | 129 unsigned long long latency) in timerlat_top_update() argument 136 latency = latency / params->output_divisor; in timerlat_top_update() 140 cpu_data->cur_irq = latency; in timerlat_top_update() 141 update_min(&cpu_data->min_irq, &latency); in timerlat_top_update() 142 update_sum(&cpu_data->sum_irq, &latency); in timerlat_top_update() 143 update_max(&cpu_data->max_irq, &latency); in timerlat_top_update() 146 cpu_data->cur_thread = latency; in timerlat_top_update() 152 cpu_data->cur_user = latency; in timerlat_top_update() 153 update_min(&cpu_data->min_user, &latency); in timerlat_top_update() 154 update_sum(&cpu_data->sum_user, &latency); in timerlat_top_update() [all …]
|
| A D | timerlat_hist.c | 136 unsigned long long latency) in timerlat_hist_update() argument 145 latency = latency / params->output_divisor; in timerlat_hist_update() 147 bucket = latency / data->bucket_size; in timerlat_hist_update() 152 update_min(&data->hist[cpu].min_irq, &latency); in timerlat_hist_update() 153 update_sum(&data->hist[cpu].sum_irq, &latency); in timerlat_hist_update() 154 update_max(&data->hist[cpu].max_irq, &latency); in timerlat_hist_update() 164 update_min(&data->hist[cpu].min_user, &latency); in timerlat_hist_update() 165 update_sum(&data->hist[cpu].sum_user, &latency); in timerlat_hist_update() 166 update_max(&data->hist[cpu].max_user, &latency); in timerlat_hist_update() 183 unsigned long long context, latency; in timerlat_hist_handler() local [all …]
|
| /tools/tracing/ |
| A D | Makefile | 4 all: latency rtla 10 latency: target 11 $(call descend,latency) 14 $(call descend,latency,install) 17 $(call descend,latency,clean) 28 .PHONY: all install clean latency latency_install latency_clean \
|
| /tools/tracing/latency/ |
| A D | Makefile | 27 LATENCY-COLLECTOR := $(OUTPUT)latency-collector 66 latency-collector.%: fixdep FORCE 70 make $(build)=latency-collector 79 $(call QUIET_INSTALL,latency-collector)$(INSTALL) $(LATENCY-COLLECTOR) -m 755 $(DESTDIR)$(BINDIR) 80 @$(STRIP) $(DESTDIR)$(BINDIR)/latency-collector 83 $(call QUIET_CLEAN, latency-collector) 85 $(Q)@rm -f latency-collector fixdep FEATURE-DUMP
|
| A D | Build | 1 latency-collector-y += latency-collector.o
|
| A D | .gitignore | 2 latency-collector
|
| /tools/perf/tests/shell/base_report/ |
| A D | setup.sh | 34 … --latency -o $CURRENT_TEST_DIR/perf.data.1 bash -c "for i in {1..100} ; do cat /proc/cpuinfo 1> /… 38 cat $LOGS_DIR/setup-latency.log 41 …mon/check_all_patterns_found.pl "$RE_LINE_RECORD1" "$RE_LINE_RECORD2" < $LOGS_DIR/setup-latency.log
|
| /tools/perf/Documentation/ |
| A D | cpu-and-latency-overheads.txt | 1 CPU and latency overheads 9 'latency' columns for CPU and wall-clock time correspondingly). 12 latency overhead is useful to improve 'latency'. It's important to understand 16 latency of a single interactive program build. 21 While the latency overhead is: 'foo' - 90%, 'bar' - 10%. If we try to optimize 26 By default, perf shows only CPU overhead. To show latency overhead, use 27 'perf record --latency' and 'perf report': 38 To sort by latency overhead, use 'perf report --latency': 50 parallelization histogram with '--sort=latency,parallelism,comm,symbol --hierarchy' 85 of a workload use '--latency --parallelism=1-2' flags.
|
| A D | perf-ftrace.txt | 12 'perf ftrace' {trace|latency|profile} <command> 23 'perf ftrace latency' calculates execution latency of a given function 138 OPTIONS for 'perf ftrace latency' 154 Use BPF to measure function latency instead of using the ftrace (it 164 --min-latency=:: 165 Minimum latency for the start of the first bucket, in ms or ns (according to 168 --max-latency=:: 169 Maximum latency for the start of the last bucket, in ms or ns (according to
|
| A D | perf-kwork.txt | 11 'perf kwork' {record|report|latency|timehist|top} 22 'perf kwork latency' to report the per kwork latencies. 32 perf kwork latency 33 perf kwork latency -b 113 OPTIONS for 'perf kwork latency' 118 Use BPF to measure kwork latency
|
| A D | perf-mem.txt | 22 Note that on Intel systems the memory latency reported is the use-latency, 23 not the pure load (or store latency). Use latency includes any pipeline 24 queuing delays in addition to the memory subsystem latency. 72 Specify desired latency for loads event. Supported on Intel, Arm64 and 77 - Supported latency values are 128 to 2048 (both inclusive). 80 - Load latency filtering is disabled by default.
|
| A D | tips.txt | 50 To measure approximate function latency with Processor Trace use perf record -e intel_pt// ... ; pe… 65 For latency profiling, try: perf record/report --latency 66 For parallelism histogram, try: perf report --hierarchy --sort latency,parallelism,comm,symbol 67 To analyze particular parallelism levels, try: perf report --latency --parallelism=32-64 68 To see how parallelism changes over time, try: perf report -F time,latency,parallelism --time-quant…
|
| A D | perf-sched.txt | 11 'perf sched' {record|latency|map|replay|script|timehist} 20 'perf sched latency' to report the per task scheduling latencies 25 perf sched latency 101 OPTIONS for 'perf sched latency' 110 latency stats per pid instead of per command name.
|
| /tools/testing/selftests/timers/ |
| A D | nsleep-lat.c | 88 long long latency = 0; in nanosleep_lat_test() local 118 latency += timespec_sub(target, end); in nanosleep_lat_test() 121 if (latency/count > UNRESONABLE_LATENCY) { in nanosleep_lat_test() 122 ksft_print_msg("Large abs latency: %lld ns :", latency/count); in nanosleep_lat_test()
|
| /tools/testing/selftests/ftrace/test.d/trigger/ |
| A D | trigger-trace-marker-synthetic-kernel.tc | 17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger 24 grep 'hitcount: *1$' events/synthetic/latency/hist > /dev/null || \
|
| A D | trigger-trace-marker-synthetic.tc | 17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger 27 grep 'hitcount: *1$' events/synthetic/latency/hist > /dev/null || \
|
| /tools/power/cpupower/utils/ |
| A D | cpuidle-set.c | 30 unsigned long long latency = 0, state_latency; in cmd_idle_set() local 66 latency = strtoull(optarg, &endptr, 10); in cmd_idle_set() 149 if (latency > state_latency){ in cmd_idle_set() 157 if (latency <= state_latency){ in cmd_idle_set()
|
| A D | cpufreq-info.c | 446 unsigned long latency = cpufreq_get_transition_latency(cpu); in get_latency() local 452 if (!latency || latency == UINT_MAX) { in get_latency() 458 print_duration(latency); in get_latency() 461 printf("%lu\n", latency); in get_latency()
|
| /tools/testing/selftests/kvm/ |
| A D | rseq_test.c | 208 int r, i, snapshot, opt, fd = -1, latency = -1; in main() local 219 latency = atoi_paranoid(optarg); in main() 248 if (latency >= 0) { in main() 258 r = write(fd, &latency, 4); in main()
|
| /tools/perf/scripts/perl/bin/ |
| A D | wakeup-latency-report | 3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/wakeup-latency.pl
|
| /tools/testing/selftests/net/forwarding/ |
| A D | sch_ets.sh | 27 rate 1Gbit burst 1Mbit latency 100ms
|
| /tools/perf/util/ |
| A D | addr_location.h | 27 u64 latency; member
|
| /tools/perf/util/bpf_skel/ |
| A D | func_latency.bpf.c | 36 } latency SEC(".maps"); 114 hist = bpf_map_lookup_elem(&latency, &key); in update_latency()
|
| /tools/perf/tests/shell/ |
| A D | ftrace.sh | 62 perf ftrace latency -T "${target_function}" sleep 0.1 > "${output}"
|