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

Function _mi_clock_now

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

Source from the content-addressed store, hash-verified

418}
419
420mi_msecs_t _mi_clock_now(void) {
421 LARGE_INTEGER t;
422 QueryPerformanceCounter(&t);
423 return mi_to_msecs(t);
424}
425#else
426#include <time.h>
427#if defined(CLOCK_REALTIME) || defined(CLOCK_MONOTONIC)

Callers 7

mi_segment_cache_purgeFunction · 0.85
_mi_segment_cache_pushFunction · 0.85
mi_segment_commitxFunction · 0.85
_mi_clock_startFunction · 0.85
_mi_clock_endFunction · 0.85

Calls 1

mi_to_msecsFunction · 0.85

Tested by

no test coverage detected