MCPcopy Create free account
hub / github.com/AutonomousFieldRoboticsLab/SVIn / GetNumSamples

Method GetNumSamples

pose_graph/src/utils/Statistics.cpp:115–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

TotalSamplesMethod · 0.80

Tested by

no test coverage detected