Sparksee 6.1.0
STSPlatformStatistics Class Reference

Platform data and statistics. More...

#include <Sparksee.h>

Inheritance diagram for STSPlatformStatistics:
Inheritance graph
Collaboration diagram for STSPlatformStatistics:
Collaboration graph

Instance Methods

(id) - init
 Creates a new instance setting all values to 0.
(int) - getNumCPUs
 Gets the number of CPUs.
(long long) - getRealTime
 Gets time in microseconds (since epoch).
(long long) - getUserTime
 Gets CPU user time.
(long long) - getSystemTime
 Gets CPU system time.
(long long) - getTotalMem
 Gets physical memory size in Bytes.
(long long) - getAvailableMem
 Gets avialable (free) memory size in Bytes.

Detailed Description

Platform data and statistics.

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

Method Documentation

◆ getAvailableMem

- (long long) getAvailableMem

Gets avialable (free) memory size in Bytes.

Returns
Avialable (free) memory size in Bytes.

References getAvailableMem.

Referenced by getAvailableMem.

◆ getNumCPUs

- (int) getNumCPUs

Gets the number of CPUs.

Returns
The number of CPUs.

References getNumCPUs.

Referenced by getNumCPUs.

◆ getRealTime

- (long long) getRealTime

Gets time in microseconds (since epoch).

Returns
Time in microseconds (since epoch).

References getRealTime.

Referenced by getRealTime.

◆ getSystemTime

- (long long) getSystemTime

Gets CPU system time.

Returns
CPU system time.

References getSystemTime.

Referenced by getSystemTime.

◆ getTotalMem

- (long long) getTotalMem

Gets physical memory size in Bytes.

Returns
Physical memory size in Bytes.

References getTotalMem.

Referenced by getTotalMem.

◆ getUserTime

- (long long) getUserTime

Gets CPU user time.

Returns
CPU user time.

References getUserTime.

Referenced by getUserTime.


The documentation for this class was generated from the following file:
  • Sparksee.h