MCPcopy Create free account
hub / github.com/PDAL/PDAL / now

Method now

pdal/Log.cpp:160–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160std::string Log::now() const
161{
162 std::chrono::steady_clock::time_point end = m_clock.now();
163
164 std::chrono::duration<double> diff = end - m_start;
165 std::stringstream ss;
166
167 ss << std::fixed << std::setprecision(3) << diff.count();
168 return ss.str();
169}
170
171} // namespace

Callers 1

LogMethod · 0.80

Calls 1

strMethod · 0.80

Tested by

no test coverage detected