MCPcopy Create free account
hub / github.com/Scobalula/Greyhound / TimeElapsed

Method TimeElapsed

src/External/CascLib/test/TLogHelper.cpp:295–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 //
294
295 bool TimeElapsed(DWORD Milliseconds)
296 {
297 bool bTimeElapsed = false;
298
299#ifdef TEST_PLATFORM_WINDOWS
300 if(GetTickCount() > (TickCount + Milliseconds))
301 {
302 TickCount = GetTickCount();
303 if(TestInterlockedIncrement(&TimeTrigger) == 1)
304 {
305 bTimeElapsed = true;
306 }
307 }
308
309#endif
310 return bTimeElapsed;
311 }
312
313 //
314 // Printing functions

Callers 3

GetNextFindDataFunction · 0.80
Storage_SeekFilesFunction · 0.80
Storage_EnumFilesFunction · 0.80

Calls 1

TestInterlockedIncrementFunction · 0.85

Tested by

no test coverage detected