SparkseePython  6.0.2
Public Member Functions | List of all members
sparksee.PlatformStatistics Class Reference

Platform data and statistics. More...

Public Member Functions

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

Detailed Description

Platform data and statistics.

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

Member Function Documentation

def sparksee.PlatformStatistics.get_available_mem (   self)

Gets avialable (free) memory size in Bytes.

Returns
Avialable (free) memory size in Bytes.
def sparksee.PlatformStatistics.get_num_c_p_us (   self)

Gets the number of CPUs.

Returns
The number of CPUs.
def sparksee.PlatformStatistics.get_real_time (   self)

Gets time in microseconds (since epoch).

Returns
Time in microseconds (since epoch).
def sparksee.PlatformStatistics.get_system_time (   self)

Gets CPU system time.

Returns
CPU system time.
def sparksee.PlatformStatistics.get_total_mem (   self)

Gets physical memory size in Bytes.

Returns
Physical memory size in Bytes.
def sparksee.PlatformStatistics.get_user_time (   self)

Gets CPU user time.

Returns
CPU user time.