PlatformStatistics Class Reference
[Gdb]

Platform data and statistics. More...

List of all members.

Public Member Functions

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

Friends

class Platform


Detailed Description

Platform data and statistics.

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

Member Function Documentation

int32_t PlatformStatistics::GetNumCPUs (  )  const [inline]

Gets the number of CPUs.

Returns:
The number of CPUs.

int64_t PlatformStatistics::GetRealTime (  )  const [inline]

Gets time in microseconds (since epoch).

Returns:
Time in microseconds (since epoch).

int64_t PlatformStatistics::GetUserTime (  )  const [inline]

Gets CPU user time.

Returns:
CPU user time.

int64_t PlatformStatistics::GetSystemTime (  )  const [inline]

Gets CPU system time.

Returns:
CPU system time.

int64_t PlatformStatistics::GetTotalMem (  )  const [inline]

Gets physical memory size in Bytes.

Returns:
Physical memory size in Bytes.

int64_t PlatformStatistics::GetAvailableMem (  )  const [inline]

Gets avialable (free) memory size in Bytes.

Returns:
Avialable (free) memory size in Bytes.


The documentation for this class was generated from the following file:

Generated on Fri Sep 12 13:36:37 2014 for Sparksee by  doxygen 1.5.6