SparkseeNet  6.0.2
Public Member Functions | List of all members
com.sparsity.sparksee.gdb.PlatformStatistics Class Reference

Platform data and statistics. More...

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 data and statistics.

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

Member Function Documentation

long com.sparsity.sparksee.gdb.PlatformStatistics.GetAvailableMem ( )

Gets avialable (free) memory size in Bytes.

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

Gets the number of CPUs.

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

Gets time in microseconds (since epoch).

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

Gets CPU system time.

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

Gets physical memory size in Bytes.

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

Gets CPU user time.

Returns
CPU user time.