Platform data and statistics.
More...
#include <common.h>
Platform data and statistics.
- Author
- Sparsity Technologies http://www.sparsity-technologies.com
◆ GetAvailableMem()
| int64_t PlatformStatistics::GetAvailableMem |
( |
| ) |
const |
|
inline |
Gets avialable (free) memory size in Bytes.
- Returns
- Avialable (free) memory size in Bytes.
◆ GetNumCPUs()
| int32_t PlatformStatistics::GetNumCPUs |
( |
| ) |
const |
|
inline |
Gets the number of CPUs.
- Returns
- The number of CPUs.
◆ GetRealTime()
| int64_t PlatformStatistics::GetRealTime |
( |
| ) |
const |
|
inline |
Gets time in microseconds (since epoch).
- Returns
- Time in microseconds (since epoch).
◆ GetSystemTime()
| int64_t PlatformStatistics::GetSystemTime |
( |
| ) |
const |
|
inline |
Gets CPU system time.
- Returns
- CPU system time.
◆ GetTotalMem()
| int64_t PlatformStatistics::GetTotalMem |
( |
| ) |
const |
|
inline |
Gets physical memory size in Bytes.
- Returns
- Physical memory size in Bytes.
◆ GetUserTime()
| int64_t PlatformStatistics::GetUserTime |
( |
| ) |
const |
|
inline |
Gets CPU user time.
- Returns
- CPU user time.
The documentation for this class was generated from the following file: