MCPcopy Create free account
hub / github.com/TASEmulators/fceux / readNew

Method readNew

src/utils/timeStamp.cpp:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35#endif
36
37void timeStampRecord::readNew(void)
38{
39#if defined(__linux__) || defined(__APPLE__) || defined(__unix__)
40 clock_gettime( CLOCK_REALTIME, &ts );
41#else
42 QueryPerformanceCounter((LARGE_INTEGER*)&ts);
43#endif
44 tsc = rdtsc();
45}
46#if defined(WIN32)
47void timeStampRecord::qpcCalibrate(void)
48{

Callers 7

profileFuncScopedMethod · 0.80
~profileFuncScopedMethod · 0.80
tscCalibrateMethod · 0.80
FCEUD_GetTimeFunction · 0.80
getHighPrecTimeStampFunction · 0.80
setTimerFunction · 0.80
SpeedThrottleFunction · 0.80

Calls 1

rdtscFunction · 0.85

Tested by

no test coverage detected