MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / GetElapsedTime

Method GetElapsedTime

deps/FtpClient/Definements.h:263–266  ·  view source on GitHub ↗

Get the elapsed time in seconds.

Source from the content-addressed store, hash-verified

261
262 /// Get the elapsed time in seconds.
263 double GetElapsedTime() const
264 {
265 return (static_cast<double>(clock()) - m_dfStart)/CLOCKS_PER_SEC;
266 }
267
268private:
269 double m_dfStart; ///< elapsed CPU time for process (start of measurement)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected