| 113 | } |
| 114 | double Statistics::GetMean(std::string const& tag) { return GetMean(GetHandle(tag)); } |
| 115 | size_t Statistics::GetNumSamples(size_t handle) { |
| 116 | std::lock_guard<std::mutex> lock(Instance().mutex_); |
| 117 | return Instance().stats_collectors_[handle].TotalSamples(); |
| 118 | } |
| 119 | size_t Statistics::GetNumSamples(std::string const& tag) { return GetNumSamples(GetHandle(tag)); } |
| 120 | std::vector<double> Statistics::GetAllSamples(size_t handle) { |
| 121 | std::lock_guard<std::mutex> lock(Instance().mutex_); |
nothing calls this directly
no test coverage detected