MCPcopy Create free account
hub / github.com/JeanLucPons/VanitySearch / timeval

Class timeval

Timer.cpp:58–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 return (double)(dt.QuadPart) / perfTicksPerSec;
57#else
58 struct timeval tv;
59 gettimeofday(&tv, NULL);
60 return (double)(tv.tv_sec - tickStart) + (double)tv.tv_usec / 1e6;
61#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected