Add MemoryUtil for Apple external.

This commit is contained in:
MAJigsaw77
2025-09-08 13:02:48 -04:00
committed by Eric
parent f3ff132e90
commit 7d714ecfeb
7 changed files with 48 additions and 4 deletions
@@ -0,0 +1,8 @@
#pragma once
/**
* Retrieves the current process's resident set size (RSS) in bytes on Apple platforms.
*
* @return The resident set size (RSS) in bytes if successful; otherwise, returns 0 on failure.
*/
size_t Apple_MemoryUtil_GetCurrentProcessRss();