XMMS2
Functions
memory_status.c File Reference
#include "memory_status.h"

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...
 

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().