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

Method GetMean

pose_graph/src/utils/Statistics.cpp:110–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109double Statistics::GetTotal(std::string const& tag) { return GetTotal(GetHandle(tag)); }
110double Statistics::GetMean(size_t handle) {
111 std::lock_guard<std::mutex> lock(Instance().mutex_);
112 return Instance().stats_collectors_[handle].Mean();
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_);

Callers

nothing calls this directly

Calls 1

MeanMethod · 0.45

Tested by

no test coverage detected