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

Method GetLastValue

pose_graph/src/utils/Statistics.cpp:100–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 stats_collectors_[handle].AddValue(seconds);
99}
100double Statistics::GetLastValue(size_t handle) {
101 std::lock_guard<std::mutex> lock(Instance().mutex_);
102 return Instance().stats_collectors_[handle].GetLastValue();
103}
104double Statistics::GetLastValue(std::string const& tag) { return GetLastValue(GetHandle(tag)); }
105double Statistics::GetTotal(size_t handle) {
106 std::lock_guard<std::mutex> lock(Instance().mutex_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected