Searched refs:variance (Results 1 - 5 of 5) sorted by relevance

/openjdk7/hotspot/src/share/vm/utilities/
H A DnumberSeq.hpp55 double _dvariance; // decaying variance
56 double _alpha; // factor for the decaying average / variance
76 double variance() const; // the variance of the sequence
80 double dvariance() const; // decaying variance
H A DnumberSeq.cpp40 // and the variance is 0
57 double AbsSeq::variance() const { function in class:AbsSeq
64 // due to loss-of-precision errors, the variance might be negative
68 // "if variance is negative, it should be very small");
75 double var = variance();
76 guarantee( var >= 0.0, "variance should not be negative" );
90 // due to loss-of-precision errors, the variance might be negative
94 "if variance is negative, it should be very small");
102 guarantee( var >= 0.0, "variance should not be negative" );
166 guarantee( variance() >
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Dos.cpp1022 double mean = 0.0, variance = 0.0, t; local
1034 // calculate mean and variance of the random sequence
1036 variance += (u*u);
1039 variance /= (reps - 1);
1043 tty->print_cr("variance of the 1st 10000 numbers: %f", variance);
1047 t = (variance - 0.3355) < 0.0 ? -(variance - 0.3355) : variance - 0.3355;
1048 assert(t < eps, "bad variance");
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1CollectorPolicy.hpp938 // "sum_of_squares" of the measurements, this returns the variance of the
940 inline double variance(int n, double sum_of_squares, double sum) { function
/openjdk7/hotspot/src/share/vm/classfile/
H A DsymbolTable.cpp463 st->print_cr("Variance of bucket size : %7.0f", summary.variance());
855 st->print_cr("Variance of bucket size : %7.0f", summary.variance());

Completed in 42 milliseconds