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

Method Init

Timer.cpp:38–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36#endif
37
38void Timer::Init() {
39
40#ifdef WIN64
41 QueryPerformanceFrequency(&qwTicksPerSec);
42 QueryPerformanceCounter(&perfTickStart);
43 perfTicksPerSec = (double)qwTicksPerSec.QuadPart;
44#else
45 tickStart=time(NULL);
46#endif
47
48}
49
50double Timer::get_tick() {
51

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected