JODA
0.13.1 (59b41972)
JSON On-Demand Analysis
|
#include <MemoryUtility.h>
Data Structures | |
class | MemorySize |
Public Types | |
typedef unsigned long long | MemoryT |
Static Public Member Functions | |
static MemorySize | totalRam () |
static MemorySize | sysRamUsage () |
static MemorySize | procRamUsage () |
static MemorySize | remainingRam () |
static double | getFreeRam () |
static std::string | getRamUsage () |
static std::string | humanReadablePercent (double num) |
This class retrieves information about the host system and programs memory consumption.
typedef unsigned long long MemoryUtility::MemoryT |
|
static |
Calculates the percentage of free memory.
|
static |
Creates a human readable memory usage report.
|
static |
Helper function to translate a percentage in [0,1] to human readable format in "[0,100]%"
|
static |
Retrieves the program memory usage of the system
|
static |
Retrieves the remaining free memory of the system
|
static |
Retrieves the total memory usage of the system
|
static |
Retrieves the total installed memory of the system