Searched refs:sampleCount (Results 1 – 2 of 2) sorted by relevance
86 sampleCount = sampleCount + 1; in addSample()87 meanVal = meanVal + delta / sampleCount; in addSample()97 if (other.sampleCount == 0) in operator +=()100 if (sampleCount == 0) { in operator +=()105 uint64_t newSampleCount = sampleCount + other.sampleCount; in operator +=()107 double dsc = double(sampleCount); in operator +=()109 double dosc = double(other.sampleCount); in operator +=()122 sampleCount = newSampleCount; in operator +=()138 std::string result = formatSI((double)sampleCount, 9, ' '); in format()140 if (sampleCount == 0) { in format()[all …]
408 uint64_t sampleCount; variable420 sampleCount(o.sampleCount), offset(o.offset), in statistic()424 sampleCount(sc), offset(0.0), collectingHist(false) {} in statistic()429 uint64_t getCount() const { return sampleCount; } in getCount()430 double getSD() const { return sqrt(m2 / sampleCount); } in getSD()431 double getTotal() const { return sampleCount * meanVal; } in getTotal()440 sampleCount = 0; in reset()447 void forceCount(uint64_t count) { sampleCount = count; } in forceCount()