MCPcopy Create free account
hub / github.com/DFHack/dfhack / getTickCount

Method getTickCount

library/Process.cpp:660–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658}
659
660uint32_t Process::getTickCount()
661{
662#ifndef WIN32
663 struct timeval tp;
664 gettimeofday(&tp, NULL);
665 return (tp.tv_sec * 1000) + (tp.tv_usec / 1000);
666#else /* WIN32 */
667 return GetTickCount();
668#endif /* WIN32 */
669}
670
671[[deprecated]] std::filesystem::path Process::getPath()
672{

Callers 15

resetMethod · 0.80
incCounterMethod · 0.80
UpdateMethod · 0.80
onUpdateMethod · 0.80
onStateChangeMethod · 0.80
DFH_SDL_EventMethod · 0.80
getTickCountFunction · 0.80
internal_getPerfCountersFunction · 0.80
OnUpdateMethod · 0.80
OnStateChangeMethod · 0.80
run_handlerFunction · 0.80
manageEventsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected