MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / filetime_msecs

Function filetime_msecs

3rd/mimalloc-2.0.9/src/stats.c:469–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467#include <windows.h>
468
469static mi_msecs_t filetime_msecs(const FILETIME* ftime) {
470 ULARGE_INTEGER i;
471 i.LowPart = ftime->dwLowDateTime;
472 i.HighPart = ftime->dwHighDateTime;
473 mi_msecs_t msecs = (i.QuadPart / 10000); // FILETIME is in 100 nano seconds
474 return msecs;
475}
476
477typedef struct _PROCESS_MEMORY_COUNTERS {
478 DWORD cb;

Callers 1

mi_stat_process_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected