This commit is contained in:
NeeEoo
2024-03-16 21:53:24 +01:00
parent 56bba6a822
commit b09c629b46
@@ -79,6 +79,8 @@ class MemoryUtil {
public static inline function currentMemUsage() {
#if cpp
return Gc.memInfo64(Gc.MEM_INFO_USAGE);
#elseif hl
return Gc.stats().currentMemory;
#elseif sys
return cast(cast(System.totalMemory, UInt), Float);
#else