#include <blpapi_diagnosticsutil.h>
Static Public Member Functions | |
static int | memoryInfo (char *buffer, size_t bufferLength) |
int blpapi::DiagnosticsUtil::memoryInfo | ( | char * | buffer, | |
size_t | bufferLength | |||
) | [inline, static] |
Load into the specified buffer
up to the specified bufferLength
characters of a null-terminated string describing the blpapi
library's memory usage; the format of the string is platform-specific. On success, return the number of characters required to output the entire string, not including the null terminator; otherwise return a negative value. Note that if the value returned from this function is greater than or equal to bufferLength
then the output is truncated and is not null-terminated.
References BLPAPI_CALL_DIAGNOSTICSUTIL_MEMORYINFO.