EPIK Scalable runtime performance measurement system
Functions
epk_memory.h File Reference

Memory-related routines. More...

Functions

EXTERN int epk_memusage ()
 Determines the current memory usage of the application in kilobytes.

Detailed Description

This file provides function prototypes for memory-related routines, such as determining the current memory usage of the application in an platform-independent way.


Function Documentation

EXTERN int epk_memusage ( )

On systems providing virtual memory, only the resident portion is considered. Depending on the architecture, the value returned by this function is an estimate rather than the exact value, with a granularity of usually a few kilobytes.

Returns:
Memory usage in kilobytes upon successful completion. Otherwise, a value of -1 is returned.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

SCALASCA    Copyright © 1998–2010 Forschungszentrum Jülich, Jülich Supercomputing Centre