Skip to main content

SystemInfo

Kindclass
Packagedebug.system
Full namedebug.system.SystemInfo
Sourcesource/debug/system/SystemInfo.hx
Compiled when#if !(cpp)

Portable fallback: elapsed timing only; native-only queries report unavailable.

Public methods​

monotonicSeconds​

static inline function monotonicSeconds():Float

Only compiled when #if !(cpp).

Runtime timestamp in seconds; use differences rather than calendar dates.

View source

processCPUSeconds​

static inline function processCPUSeconds():Float

Only compiled when #if !(cpp).

Native process CPU accounting is unavailable on this target.

View source

logicalCPUCount​

static inline function logicalCPUCount():Int

Only compiled when #if !(cpp).

Conservative fallback; does not claim knowledge of host hardware.

View source

pageSize​

static inline function pageSize():Float

Only compiled when #if !(cpp).

Native page size is unavailable on this target.

View source

totalPhysicalMemory​

static inline function totalPhysicalMemory():Float

Only compiled when #if !(cpp).

Host RAM is unavailable on this target (GC usage is not physical RAM).

View source