Home
last modified time | relevance | path

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

12

/external/fio/lib/
Dgauss.c14 if (!gs->stddev) in gauss_dev()
18 vr = gs->stddev * (r / (FRAND32_MAX + 1.0)); in gauss_dev()
20 return vr - gs->stddev / 2; in gauss_dev()
33 if (gs->stddev) { in gauss_next()
55 gs->stddev = ceil((double) (nranges * 100.0) / dev); in gauss_init()
56 if (gs->stddev > nranges / 2) in gauss_init()
57 gs->stddev = nranges / 2; in gauss_init()
Dgauss.h10 unsigned int stddev; member
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/
Dctor_double_double.pass.cpp26 assert(d.stddev() == 1); in main()
32 assert(d.stddev() == 1); in main()
38 assert(d.stddev() == 5.25); in main()
Dparam_ctor.pass.cpp28 assert(p.stddev() == 1); in main()
35 assert(p.stddev() == 1); in main()
42 assert(p.stddev() == 5); in main()
Dctor_param.pass.cpp28 assert(d.stddev() == 10); in main()
Dparam_copy.pass.cpp29 assert(p.stddev() == .125); in main()
Dparam_assign.pass.cpp30 assert(p.stddev() == 6); in main()
Deval.pass.cpp62 double x_var = sqr(d.stddev()); in main()
Deval_param.pass.cpp64 double x_var = sqr(p.stddev()); in main()
/external/google-benchmark/src/
Dstat.h118 VType Mean(VType *stddev) const { in Mean() argument
121 if (stddev) { in Mean()
124 *stddev = VType(); in Mean()
127 *stddev = Sqrt(numsamples_ / (numsamples_ - 1.0) * (avg_squares - Sqr(mean))); in Mean()
135 VType stddev = VType(); in StdDev() local
136 Mean(&stddev); in StdDev()
137 return stddev; in StdDev()
/external/skia/tools/skpbench/
Dskpbench.py209 if not self.best_result or result.stddev <= self.best_result.stddev:
214 (result.config, result.bench, self.best_result.stddev,
215 result.stddev), file=sys.stderr)
216 if self.max_stddev and self.best_result.stddev > self.max_stddev:
255 skpbench.best_result.stddev, skpbench.max_stddev,
D_benchresult.py47 self.stddev = float(match.group('stddev')[:-1]) # Drop '%' sign.
Dskpbench.cpp216 const double stddev = 100/*%*/ * sqrt(variance) / accumValue; in print_result() local
219 stddev, values.size(), FLAGS_sampleMs, FLAGS_gpuClock ? "gpu" : "cpu", Sample::metric(), in print_result()
/external/v8/tools/
Dcallstats.py324 stddev = numpy.std(data, ddof=1)
330 'abs': t_bounds[1] * stddev / sqrt(N),
331 'low': average + t_bounds[0] * stddev / sqrt(N),
332 'high': average + t_bounds[1] * stddev / sqrt(N)
335 stddev = 0
337 if abs(stddev) > 0.0001 and abs(average) > 0.0001:
338 ci['perc'] = t_bounds[1] * stddev / sqrt(N) / average * 100
342 'stddev': stddev, 'min': low, 'max': high, 'ci': ci }
Drun_perf.py188 self.stddev = ""
202 if self.stddev_regexp and self.stddev:
206 self.stddev = re.search(self.stddev_regexp, stdout, re.M).group(1)
216 "stddev": self.stddev,
326 stddev = ""
335 result, stddev = map(str.strip, match_stddev.group(1).split(","))
356 trace_result.traces[0]["stddev"] = stddev
/external/webrtc/webrtc/base/
Dvirtualsocketserver.cc959 static double Normal(double x, double mean, double stddev) { in Normal() argument
960 double a = (x - mean) * (x - mean) / (2 * stddev * stddev); in Normal()
961 return exp(-a) / (stddev * sqrt(2 * PI)); in Normal()
975 uint32_t stddev, in CreateDistribution() argument
979 if (0 == stddev) { in CreateDistribution()
983 if (mean >= 4 * static_cast<double>(stddev)) in CreateDistribution()
984 start = mean - 4 * static_cast<double>(stddev); in CreateDistribution()
985 double end = mean + 4 * static_cast<double>(stddev); in CreateDistribution()
989 double y = Normal(x, mean, stddev); in CreateDistribution()
Dvirtualsocket_unittest.cc634 const uint32_t stddev = 50; in TcpSendsPacketsInOrderTest() local
637 ss_->set_delay_stddev(stddev); in TcpSendsPacketsInOrderTest()
693 const uint32_t stddev = 500; in DelayTest() local
696 ss_->set_delay_stddev(stddev); in DelayTest()
730 EXPECT_NEAR(stddev, sample_stddev, 0.15 * stddev); in DelayTest()
1047 const double stddev = sqrt(sum_sq_dev / f->size()); in TEST_F() local
1052 EXPECT_NEAR(kStdDev, stddev, 0.1 * kStdDev) in TEST_F()
/external/libcxx/utils/google-benchmark/src/
Dstat.h118 VType Mean(VType *stddev) const { in Mean() argument
121 if (stddev) { in Mean()
123 *stddev = Sqrt(avg_squares - Sqr(mean)); in Mean()
/external/fio/tools/plot/samples/
DMakefile17 rm -rf *.average *.stddev *.min *.max *.global
/external/flac/libFLAC/include/protected/
Dstream_encoder.h71 FLAC__real stddev; member
/external/mesa3d/src/gallium/auxiliary/util/
Du_cache.c296 double stddev = sqrt(mean); in util_cache_destroy() local
299 double z = fabs(cache->entries[i].count - mean)/stddev; in util_cache_destroy()
/external/flac/libFLAC/include/private/
Dwindow.h60 void FLAC__window_gauss(FLAC__real *window, const FLAC__int32 L, const FLAC__real stddev); /* 0.0 <…
/external/flac/libFLAC/
Dwindow.c115 void FLAC__window_gauss(FLAC__real *window, const FLAC__int32 L, const FLAC__real stddev) in FLAC__window_gauss() argument
122 const double k = ((double)n - N2) / (stddev * N2); in FLAC__window_gauss()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
DStats.java55 public static double stddev(int[] X) { in stddev() method in Stats
/external/autotest/tko/parsers/
Dversion_1.py173 value, stddev = mean_and_standard_deviation(map(float, value))
175 perf_dict['stddev'] = stddev

12