Searched refs:meanVal (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_stats.cpp | 84 double delta = sample - meanVal; in addSample() 87 meanVal = meanVal + delta / sampleCount; in addSample() 88 m2 = m2 + delta * (sample - meanVal); in addSample() 110 double delta = other.meanVal - meanVal; in operator +=() 118 meanVal = meanVal * dscBydnsc + other.meanVal * (1 - dscBydnsc); in operator +=() 132 meanVal = meanVal * factor; in scale() 149 result = result + std::string(", ") + formatSI(meanVal, 9, unit); in format() 153 result + std::string(", ") + formatSI(meanVal * sampleCount, 9, unit); in format()
|
H A D | kmp_stats.h | 406 double meanVal; variable 419 : minVal(o.minVal), maxVal(o.maxVal), meanVal(o.meanVal), m2(o.m2), in statistic() 423 : minVal(minv), maxVal(maxv), meanVal(meanv), m2(sd * sd * sc), in statistic() 427 double getMean() const { return meanVal; } in getMean() 431 double getTotal() const { return sampleCount * meanVal; } in getTotal() 438 meanVal = 0.0; in reset()
|