SparkseePython3 6.1.0
sparksee.PlatformStatistics Class Reference

Platform data and statistics. More...

Public Member Functions

 __init__ (self)
 Creates a new instance setting all values to 0.
 get_total_mem (self)
 Gets physical memory size in Bytes.
 get_available_mem (self)
 Gets avialable (free) memory size in Bytes.
 get_real_time (self)
 Gets time in microseconds (since epoch).
 get_system_time (self)
 Gets CPU system time.
 get_user_time (self)
 Gets CPU user time.
 get_num_c_p_us (self)
 Gets the number of CPUs.

Detailed Description

Platform data and statistics.

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

Member Function Documentation

◆ get_available_mem()

sparksee.PlatformStatistics.get_available_mem ( self)

Gets avialable (free) memory size in Bytes.

Returns
Avialable (free) memory size in Bytes.

◆ get_num_c_p_us()

sparksee.PlatformStatistics.get_num_c_p_us ( self)

Gets the number of CPUs.

Returns
The number of CPUs.

◆ get_real_time()

sparksee.PlatformStatistics.get_real_time ( self)

Gets time in microseconds (since epoch).

Returns
Time in microseconds (since epoch).

◆ get_system_time()

sparksee.PlatformStatistics.get_system_time ( self)

Gets CPU system time.

Returns
CPU system time.

◆ get_total_mem()

sparksee.PlatformStatistics.get_total_mem ( self)

Gets physical memory size in Bytes.

Returns
Physical memory size in Bytes.

◆ get_user_time()

sparksee.PlatformStatistics.get_user_time ( self)

Gets CPU user time.

Returns
CPU user time.