This commit is contained in:
Dante
2026-05-21 23:40:20 -07:00
parent 3e2915dff7
commit 877a69d844
5737 changed files with 29796 additions and 1589684 deletions

View File

@ -41,12 +41,12 @@ extern class Resource {
/**
Evaluates to the amount of free memory, in bytes.
**/
static function freeMemory():UInt64;
static function freeMemory():Null<UInt64>;
/**
Evaluates to the total amount of memory, in bytes.
**/
static function totalMemory():UInt64;
static function totalMemory():Null<UInt64>;
/**
Gets the amount of memory available to the process (in bytes) based on
@ -68,11 +68,11 @@ extern class Resource {
/**
Evaluates to the resident set size for the current process.
**/
static function residentSetMemory(pid:Int):Result<UInt64>;
static function residentSetMemory():Result<UInt64>;
/**
Gets the resource usage measures for the current process.
**/
static function getRUsage():Result<RUsage>;
}
}