Searched refs:stddev (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/kernel/trace/
H A Dtrace_benchmark.c39 u64 stddev; trace_do_benchmark() local
80 * We should have enough data for the avg and stddev anyway. trace_do_benchmark()
98 stddev = (u64)bm_cnt * bm_totalsq - bm_total * bm_total; trace_do_benchmark()
99 do_div(stddev, (u32)bm_cnt); trace_do_benchmark()
100 do_div(stddev, (u32)bm_cnt - 1); trace_do_benchmark()
102 stddev = 0; trace_do_benchmark()
108 if (stddev > 0) { trace_do_benchmark()
111 * stddev is the square of standard deviation but trace_do_benchmark()
124 seed = stddev; trace_do_benchmark()
137 bm_last, bm_first, bm_max, bm_min, avg, std, stddev); trace_do_benchmark()
141 bm_stddev = stddev; trace_do_benchmark()
H A Dftrace.c628 unsigned long long stddev; function_stat_show() local
653 stddev = 0; function_stat_show()
659 stddev = rec->counter * rec->time_squared - function_stat_show()
666 do_div(stddev, rec->counter * (rec->counter - 1) * 1000); function_stat_show()
674 trace_print_graph_duration(stddev, &s); function_stat_show()
/linux-4.4.14/tools/perf/util/
H A Dstat.h47 double rel_stddev_stats(double stddev, double avg);
H A Dstat.c57 double rel_stddev_stats(double stddev, double avg) rel_stddev_stats() argument
62 pct = 100.0 * stddev/avg; rel_stddev_stats()
/linux-4.4.14/drivers/cpuidle/governors/
H A Dmenu.c203 uint64_t avg, stddev; get_typical_interval() local
228 stddev = 0; get_typical_interval()
233 stddev += diff * diff; get_typical_interval()
237 stddev >>= INTERVAL_SHIFT; get_typical_interval()
239 do_div(stddev, divisor); get_typical_interval()
253 if (likely(stddev <= ULONG_MAX)) { get_typical_interval()
254 stddev = int_sqrt(stddev); get_typical_interval()
255 if (((avg > stddev * 6) && (divisor * 4 >= INTERVALS * 3)) get_typical_interval()
256 || stddev <= 20) { get_typical_interval()
/linux-4.4.14/tools/perf/bench/
H A Dfutex-hash.c102 double stddev = stddev_stats(&throughput_stats); print_summary() local
105 !silent ? "\n" : "", avg, rel_stddev_stats(stddev, avg), print_summary()
H A Dfutex-lock-pi.c55 double stddev = stddev_stats(&throughput_stats); print_summary() local
58 !silent ? "\n" : "", avg, rel_stddev_stats(stddev, avg), print_summary()
/linux-4.4.14/drivers/staging/iio/light/
H A Dtsl2x7x_core.c165 unsigned long stddev; member in struct:tsl2x7x_prox_stat
846 statP->stddev = int_sqrt((long)sample_sum)/length; tsl2x7x_prox_calculate()
/linux-4.4.14/tools/perf/
H A Dbuiltin-stat.c955 "repeat command and print average + stddev (max: 100, forever: 0)"),
H A Dbuiltin-trace.c2852 printed += fprintf(fp, " syscall calls total min avg max stddev\n"); thread__dump_stats()

Completed in 262 milliseconds