Home
last modified time | relevance | path

Searched refs:stddev (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/kernel/trace/
Dtrace_benchmark.c42 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()
Dftrace.c509 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/
Depoll-ctl.c295 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()
Dfutex-hash.c116 double stddev = stddev_stats(&throughput_stats); in print_summary() local
119 !params.silent ? "\n" : "", avg, rel_stddev_stats(stddev, avg), in print_summary()
Dfutex-lock-pi.c65 double stddev = stddev_stats(&throughput_stats); in print_summary() local
68 !params.silent ? "\n" : "", avg, rel_stddev_stats(stddev, avg), in print_summary()
Depoll-wait.c285 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/
Dbench.c95 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()
Dbench.h35 double stddev; member
/linux-6.1.9/tools/testing/selftests/bpf/benchs/
Dbench_local_storage_rcu_tasks_trace.c248 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/
Dperf-sched.txt128 run times (in sec) and relative stddev.
133 max, and average run times (in sec) and relative stddev.
Dperf-trace.txt142 (in msec) and relative stddev.
147 average times (in msec) and relative stddev.
Dperf-stat.txt139 repeat command and print average + stddev (max: 100). 0 means forever.
/linux-6.1.9/tools/perf/util/
Dstat.c74 double rel_stddev_stats(double stddev, double avg) in rel_stddev_stats() argument
79 pct = 100.0 * stddev/avg; in rel_stddev_stats()
Dstat.h177 double rel_stddev_stats(double stddev, double avg);
/linux-6.1.9/tools/perf/
Dbuiltin-sched.c2706 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()