Searched refs:sampleCount (Results 1 – 2 of 2) sorted by relevance
85 sampleCount = sampleCount + 1; in addSample()86 meanVal = meanVal + delta / sampleCount; in addSample()96 if (other.sampleCount == 0) in operator +=()99 if (sampleCount == 0) { in operator +=()104 uint64_t newSampleCount = sampleCount + other.sampleCount; in operator +=()106 double dsc = double(sampleCount); in operator +=()108 double dosc = double(other.sampleCount); in operator +=()121 sampleCount = newSampleCount; in operator +=()137 std::string result = formatSI(sampleCount, 9, ' '); in format()139 if (sampleCount == 0) { in format()[all …]
387 uint64_t sampleCount; variable399 sampleCount(o.sampleCount), offset(o.offset), in statistic()403 sampleCount(sc), offset(0.0), collectingHist(false) {} in statistic()408 uint64_t getCount() const { return sampleCount; } in getCount()409 double getSD() const { return sqrt(m2 / sampleCount); } in getSD()410 double getTotal() const { return sampleCount * meanVal; } in getTotal()419 sampleCount = 0; in reset()426 void forceCount(uint64_t count) { sampleCount = count; } in forceCount()