XMMS2
Typedefs | Enumerations | Functions
memory_status.h File Reference

Typedefs

typedef enum memory_status_St memory_status_t
 

Enumerations

enum  memory_status_St { MEMORY_OK = 1 << 0, MEMORY_LEAK = 1 << 1, MEMORY_ERROR = 1 << 2 }
 

Functions

void memory_status_calibrate (const char *marker)
 Gather a baseline for leaks and errors. More...
 
int memory_status_verify (const char *marker)
 Check if any leaks or errors have been introduced since baseline. More...
 

Typedef Documentation

Enumeration Type Documentation

Enumerator
MEMORY_OK 
MEMORY_LEAK 
MEMORY_ERROR 

Function Documentation

void memory_status_calibrate ( const char *  marker)

Gather a baseline for leaks and errors.

If marker is not NULL a message to the memory status log will be added.

Parameters
markera marker describing the calibration point.

Referenced by xcu_pre_case().

int memory_status_verify ( const char *  marker)

Check if any leaks or errors have been introduced since baseline.

If marker is not NULL a message to the memory status log will be added.

Parameters
markera marker describing the verify point.
Returns
status flag of memory_status_t.

Referenced by xcu_post_case().