DexNet 4.7.0
Public Member Functions
com::sparsity::dex::gdb::PlatformStatistics Class Reference

Platform usage statistics. More...

List of all members.

Public Member Functions

long GetRealTime ()
 Gets time in microseconds (since epoch).
long GetAvailableMem ()
 Gets avialable (free) memory size in Bytes.
long GetTotalMem ()
 Gets physical memory size in Bytes.
long GetSystemTime ()
 Gets CPU system time.
long GetUserTime ()
 Gets CPU user time.
int GetNumCPUs ()
 Gets the number of CPUs.
 PlatformStatistics ()
 Creates a new instance setting all values to 0.

Detailed Description

Platform usage statistics.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Member Function Documentation

long com::sparsity::dex::gdb::PlatformStatistics::GetAvailableMem ( )

Gets avialable (free) memory size in Bytes.

Returns:
Avialable (free) memory size in Bytes.
int com::sparsity::dex::gdb::PlatformStatistics::GetNumCPUs ( )

Gets the number of CPUs.

Returns:
The number of CPUs.
long com::sparsity::dex::gdb::PlatformStatistics::GetRealTime ( )

Gets time in microseconds (since epoch).

Returns:
Time in microseconds (since epoch).
long com::sparsity::dex::gdb::PlatformStatistics::GetSystemTime ( )

Gets CPU system time.

Returns:
CPU system time.
long com::sparsity::dex::gdb::PlatformStatistics::GetTotalMem ( )

Gets physical memory size in Bytes.

Returns:
Physical memory size in Bytes.
long com::sparsity::dex::gdb::PlatformStatistics::GetUserTime ( )

Gets CPU user time.

Returns:
CPU user time.