trappy.wa.sysfs_extractor module

class trappy.wa.sysfs_extractor.SysfsExtractor(path)[source]

Bases: object

Operate on the parameters of a dump of Workload Automation’s
sysfs extractor instrumentation.
Parameters:path (str) – The path to the workload in a output directory created by WA.
get_parameters()[source]

Get the parameters from a sysfs extractor dump

WorkloadAutomation (WA) can dump sysfs values using its sysfs_extractor instrumentation. Parse the tree and return the thermal parameters as a dict of key and values where the keys are the names of the files and values its corresponding values.

pretty_print_in_ipython()[source]

Print parameters extracted from sysfs from a WA run in a pretty HTML table.

This won’t work if the code is not running in an ipython notebook.