MCPcopy Create free account
hub / github.com/cs1ime/KernelDwm / GetRealTime

Function GetRealTime

KernelDwm/KernelDwm/util/DDKCommon.cpp:241–257  ·  view source on GitHub ↗

ULONG64 GetRealTime() { if (g_first) { g_first = FALSE; ULONG64 fir, sec; fir = AsmRdtsc(); Sleep(50); sec = AsmRdtsc(); g_per = (sec - fir) / 50; } return AsmRdtsc() / g_per; }

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 12

FeatureInitFunction · 0.50
DoInjectDWMFunction · 0.50
TryInjectDWMImplFunction · 0.50
TryFreeDWMImplFunction · 0.50
TryAllocateMemImplFunction · 0.50
DwmHandlerInjectImplFunction · 0.50
DrawDispatchFunction · 0.50
RenderSceneFunction · 0.50
RemoveHookFunction · 0.50
TryFreeMemFunction · 0.50
TryRemoveDxgkHookFunction · 0.50
WrapRenderFunction · 0.50

Calls 1

GetSystemTimeFunction · 0.85

Tested by

no test coverage detected