swat.cas.response.CASPerformance

class swat.cas.response.CASPerformance(_sw_response)

Bases: object

Performance metrics of a CAS response

This class is never instantiated directly. It is instantiated behind the scenes when the CASResponse is created.

Parameters
_sw_responseSWIG CASResponse

SWIG CASResponse object

Returns
CASPerformance object
Attributes
elapsed_timefloat
cpu_user_timefloat
cpu_system_timefloat
system_total_memoryint
system_nodesint
system_coresint
memoryint
memory_osint
memory_quotaint
data_movement_timefloat
date_movement_bytesint
__init__(self, _sw_response)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(self, _sw_response)

Initialize self.

to_dict(self)

Return performance attributes as a dictionary

Attributes

cpu_system_time

CPU System Time

cpu_user_time

CPU User Time

data_movement_bytes

Data movement bytes

data_movement_time

Data movement time

elapsed_time

Elapsed time

memory

Memory

memory_os

OS Memory

memory_quota

Memory Quota

rows_read

Unique rows read

rows_written

Unique rows written

system_cores

Number of cores

system_nodes

Number of nodes

system_total_memory

Total System Memory