ProtoTracer  1.0
Real-time 3D rendering and animation engine
Loading...
Searching...
No Matches
Debug Class Reference

Provides debugging utilities for memory analysis. More...

#include <Debug.h>

Static Public Member Functions

static float FreeMem ()
 Calculates the available free memory in the system.
 

Detailed Description

Provides debugging utilities for memory analysis.

Definition at line 22 of file Debug.h.

Member Function Documentation

◆ FreeMem()

static float FreeMem ( )
inlinestatic

Calculates the available free memory in the system.

This function calculates the difference between the end of the heap and the current break value, returning the result in kilobytes.

Returns
The available free memory in kilobytes as a float.

Definition at line 32 of file Debug.h.

References __brkval, and _heap_end.

Referenced by Project::PrintStats().


The documentation for this class was generated from the following file: