lisa.wa.WACollectorBase#

class lisa.wa.WACollectorBase(wa_output, df_postprocess=None)[source]#

Bases: StatsProp, Loggable, ABC

Base class for all Workload Automation dataframe collectors.

Parameters:

See also

Instances of this classes are typically built using WAOutput.get_collector() rather than directly.

Properties

df

pandas.DataFrame containing the data collected.

logger inherited

Convenience short-hand for self.get_logger().

stats inherited

Short-hand property equivalent to self.get_stats().

Methods

get_logger() inherited

Provides a logging.Logger named after cls.

get_stats() inherited

Returns a lisa.stats.Stats loaded with the result pandas.DataFrame.

log_locals() inherited

Debugging aid: log the local variables of the calling function.

Properties#

property WACollectorBase.df[source]#

pandas.DataFrame containing the data collected.

property WACollectorBase.logger#

Inherited property, see lisa.utils.Loggable.logger

Convenience short-hand for self.get_logger().

property WACollectorBase.stats#

Inherited property, see lisa.wa.StatsProp.stats

Short-hand property equivalent to self.get_stats().

Methods#

classmethod WACollectorBase.get_logger(suffix=None)#

Inherited method, see lisa.utils.Loggable.get_logger()

Provides a logging.Logger named after cls.

WACollectorBase.get_stats(ensure_default_groups=True, ref_group=None, agg_cols=None, **kwargs)#

Inherited method, see lisa.wa.StatsProp.get_stats()

Returns a lisa.stats.Stats loaded with the result pandas.DataFrame.

classmethod WACollectorBase.log_locals(var_names=None, level='debug')#

Inherited method, see lisa.utils.Loggable.log_locals()

Debugging aid: log the local variables of the calling function.