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

Method GetAllSamples

pose_graph/src/utils/Statistics.cpp:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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_);
122 return Instance().stats_collectors_[handle].GetAllValues();
123}
124std::vector<double> Statistics::GetAllSamples(std::string const& tag) { return GetAllSamples(GetHandle(tag)); }
125double Statistics::GetVariance(size_t handle) {
126 std::lock_guard<std::mutex> lock(Instance().mutex_);

Callers 1

GetAllValuesMethod · 0.80

Calls 1

GetAllValuesMethod · 0.80

Tested by

no test coverage detected