Home
last modified time | relevance | path

Searched refs:meanVal (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dkmp_stats.cpp82 double delta = sample - meanVal; in addSample()
85 meanVal = meanVal + delta / sampleCount; in addSample()
86 m2 = m2 + delta * (sample - meanVal); in addSample()
108 double delta = other.meanVal - meanVal; in operator +=()
116 meanVal = meanVal * dscBydnsc + other.meanVal * (1 - dscBydnsc); in operator +=()
130 meanVal = meanVal * factor; in scale()
147 result = result + std::string(", ") + formatSI(meanVal, 9, unit); in format()
151 result + std::string(", ") + formatSI(meanVal * sampleCount, 9, unit); in format()
Dkmp_stats.h396 double meanVal; variable
409 : minVal(o.minVal), maxVal(o.maxVal), meanVal(o.meanVal), m2(o.m2), in statistic()
413 : minVal(minv), maxVal(maxv), meanVal(meanv), m2(sd * sd * sc), in statistic()
417 double getMean() const { return meanVal; } in getMean()
421 double getTotal() const { return sampleCount * meanVal; } in getTotal()
428 meanVal = 0.0; in reset()