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

Method GetLastDeltaTime

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

Source from the content-addressed store, hash-verified

175 return Instance().stats_collectors_[handle].MinDeltaTime();
176}
177double Statistics::GetLastDeltaTime(std::string const& tag) { return GetLastDeltaTime(GetHandle(tag)); }
178double Statistics::GetLastDeltaTime(size_t handle) {
179 std::lock_guard<std::mutex> lock(Instance().mutex_);
180 return Instance().stats_collectors_[handle].GetLastDeltaTime();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected