/linux-6.1.9/kernel/trace/ |
D | trace_benchmark.c | 42 u64 stddev; in trace_do_benchmark() local 101 stddev = (u64)bm_cnt * bm_totalsq - bm_total * bm_total; in trace_do_benchmark() 102 do_div(stddev, (u32)bm_cnt); in trace_do_benchmark() 103 do_div(stddev, (u32)bm_cnt - 1); in trace_do_benchmark() 105 stddev = 0; in trace_do_benchmark() 111 if (stddev > 0) { in trace_do_benchmark() 127 seed = stddev; in trace_do_benchmark() 140 bm_last, bm_first, bm_max, bm_min, avg, std, stddev); in trace_do_benchmark() 144 bm_stddev = stddev; in trace_do_benchmark()
|
D | ftrace.c | 509 unsigned long long stddev; in function_stat_show() local 533 stddev = 0; in function_stat_show() 539 stddev = rec->counter * rec->time_squared - in function_stat_show() 546 stddev = div64_ul(stddev, in function_stat_show() 555 trace_print_graph_duration(stddev, &s); in function_stat_show()
|
/linux-6.1.9/tools/perf/bench/ |
D | epoll-ctl.c | 295 double stddev[EPOLL_NR_OPS]; in print_summary() local 299 stddev[i] = stddev_stats(&all_stats[i]); in print_summary() 303 avg[OP_EPOLL_ADD], rel_stddev_stats(stddev[OP_EPOLL_ADD], in print_summary() 306 avg[OP_EPOLL_MOD], rel_stddev_stats(stddev[OP_EPOLL_MOD], in print_summary() 309 avg[OP_EPOLL_DEL], rel_stddev_stats(stddev[OP_EPOLL_DEL], in print_summary()
|
D | futex-hash.c | 116 double stddev = stddev_stats(&throughput_stats); in print_summary() local 119 !params.silent ? "\n" : "", avg, rel_stddev_stats(stddev, avg), in print_summary()
|
D | futex-lock-pi.c | 65 double stddev = stddev_stats(&throughput_stats); in print_summary() local 68 !params.silent ? "\n" : "", avg, rel_stddev_stats(stddev, avg), in print_summary()
|
D | epoll-wait.c | 285 double stddev = stddev_stats(&throughput_stats); in print_summary() local 288 avg, rel_stddev_stats(stddev, avg), in print_summary()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | bench.c | 95 gp_stat->stddev += (IT_MEAN_DIFF * IT_MEAN_DIFF) / (res_cnt - 1.0); in grace_period_latency_basic_stats() 97 gp_stat->stddev = sqrt(gp_stat->stddev); in grace_period_latency_basic_stats() 113 gp_stat->stddev += (IT_MEAN_DIFF * IT_MEAN_DIFF) / (res_cnt - 1.0); in grace_period_ticks_basic_stats() 115 gp_stat->stddev = sqrt(gp_stat->stddev); in grace_period_ticks_basic_stats()
|
D | bench.h | 35 double stddev; member
|
/linux-6.1.9/tools/testing/selftests/bpf/benchs/ |
D | bench_local_storage_rcu_tasks_trace.c | 248 printf("\tavg %.3lf us\tstddev %.3lf us\n", gp_stat.mean, gp_stat.stddev); in report_final() 251 printf("\tavg %.3lf\tstddev %.3lf\n", gp_stat.mean, gp_stat.stddev); in report_final()
|
/linux-6.1.9/tools/perf/Documentation/ |
D | perf-sched.txt | 128 run times (in sec) and relative stddev. 133 max, and average run times (in sec) and relative stddev.
|
D | perf-trace.txt | 142 (in msec) and relative stddev. 147 average times (in msec) and relative stddev.
|
D | perf-stat.txt | 139 repeat command and print average + stddev (max: 100). 0 means forever.
|
/linux-6.1.9/tools/perf/util/ |
D | stat.c | 74 double rel_stddev_stats(double stddev, double avg) in rel_stddev_stats() argument 79 pct = 100.0 * stddev/avg; in rel_stddev_stats()
|
D | stat.h | 177 double rel_stddev_stats(double stddev, double avg);
|
/linux-6.1.9/tools/perf/ |
D | builtin-sched.c | 2706 float stddev; in print_thread_runtime() local 2713 stddev = rel_stddev_stats(stddev_stats(&r->run_stats), mean); in print_thread_runtime() 2720 printf("%5.2f", stddev); in print_thread_runtime()
|