SparkseeNet 6.1.0
com.sparsity.sparksee.gdb.PlatformStatistics Class Reference

Platform data and statistics. More...

Public Member Functions

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

Detailed Description

Platform data and statistics.

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

Member Function Documentation

◆ GetAvailableMem()

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

Gets avialable (free) memory size in Bytes.

Returns
Avialable (free) memory size in Bytes.

◆ GetNumCPUs()

int com.sparsity.sparksee.gdb.PlatformStatistics.GetNumCPUs ( )

Gets the number of CPUs.

Returns
The number of CPUs.

◆ GetRealTime()

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

Gets time in microseconds (since epoch).

Returns
Time in microseconds (since epoch).

◆ GetSystemTime()

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

Gets CPU system time.

Returns
CPU system time.

◆ GetTotalMem()

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

Gets physical memory size in Bytes.

Returns
Physical memory size in Bytes.

◆ GetUserTime()

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

Gets CPU user time.

Returns
CPU user time.