metrics1487%python.module
fault.transcript

Data structures for storing and combining status metrics for progress notifications.

struct
import

Work0
class

Work unit progress metrics.

WorkProperties

w_prepared

Number of Work Units that will be performed.

w_failed

Number of Work Units that indicated failure.

w_granted

Number of Work Units that were already considered complete. Tests skipped or cached results.

w_executed

Number of Work Units executed that did not indicate failure.

Workm_symbol0
data

m_symbol = '%'

Workw_prepared0
data
int

w_prepared: int = 0

Workw_executed0
data
int

w_executed: int = 0

Workw_granted0
data
int

w_granted: int = 0

Workw_failed0
data
int

w_failed: int = 0
	@property

Workw_total0
property
int

Number of failed, executed, or granted Works Units.

Workw_executing0
property
int

Number of prepared work units that were not granted and have not completed or failed.

Work__str__0
method

__str__(self)

Workempty0
method
bool

empty(self)

Work__add__0
method

__add__(self, op)

Worksplit466%
classmethod

split(Class, text)

Advisory0
class

Advisory messaging metrics.

AdvisoryProperties

m_notices

Messages emitted by the Work Units that were neither warnings or errors.

m_warnings

Warnings issued by the Work Units to the Application.

m_errors

Errors issued by the Work Units to the Application.

Advisorym_symbol0
data

m_symbol = '@'

Advisorym_notices0
data
int

m_notices: int = 0

Advisorym_warnings0
data
int

m_warnings: int = 0

Advisorym_errors0
data
int

m_errors: int = 0
	@property

Advisorym_total0
property
int

Total number of errors, warnings, and notices.

Advisory__str__0
method

__str__(self)

Advisoryempty0
method
bool

empty(self)

Advisory__add__0
method

__add__(self, op)

Advisorysplit188%
classmethod

split(Class, text)

Resource0
class

Resource usage metrics.

ResourceProperties

r_divisions

The number of system processes that used the measured resources.

r_time

The sum of the duration of all divisions.

r_process

Processor usage of the divisions.

r_memory

Memory usage of the divisions.

Resourcem_symbol0
data

m_symbol = '$'

Resourcer_divisions0
data
int

r_divisions: int = 0

Resourcer_memory0
data
int

r_memory: int = 0

Resourcer_process0
data
int

r_process: int = 0

Resourcer_time0
data
int

r_time: int = 0

Resource__str__0
method
str

__str__(self)

Resourceempty0
method
bool

empty(self)

Resource__add__0
method

__add__(self, op)

Resourcesplit188%
classmethod

split(Class, text)

Procedure0
class

Collection of metrics regarding the status of an Abstract Procedure.

ProcedureProperties

work

Procedure Work Unit progress.

msg

Procedure message counters.

usage

Procedure resource usage.

Procedure__iter__30%
method

__iter__(self)

Procedurecreate0
classmethod

create(Class)

Create an empty Procedure.

Procedure__getitem__266%
method

__getitem__(self, path)

Procedure__add__370%
method

__add__(self, operand)

Procedure_metrics_symbols0
data

_metrics_symbols = {
	'%': ('work', Work),
	'@': ('msg', Advisory),
	'$': ('usage', Resource),
}
	@classmethod

Procedurestructure0
classmethod

structure(Class, text)

Structure progress text into a Metrics instance.

Proceduresequence0
method
str

sequence(self)

Return the components making up the serialized string.