IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcErrorCode gcGetHeapMemoryUsage ( long *  totalMem,
long *  freeBlocks,
long *  usedMem,
long *  freeMem,
long *  maxMem 
)

This function can be used to determine the graphics controller's usage of its internal memory resources (heap memory).

Parameters:
totalMem Pointer to a 32 bit variable. The number of total heap memory will be stored here.
freeBlocks Pointer to a 32 bit variable. The number of free heap blocks will be stored here.
usedMem Pointer to a 32 bit variable. The number of used heap memory will be stored here.
freeMem Pointer to a 32 bit variable. The number of free heap memory will be stored here.
maxMem Pointer to a 32 bit variable. The number of max used heap memory will be stored here (highwater mark).
Returns:
One of the following error codes is returned:
Since:
2.05
Targets:

GC01

GC04

-

X






Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1