PyFoam.Applications.CommonReportUsage module

Class that implements the common functionality for reporting the usage of a run

class PyFoam.Applications.CommonReportUsage.CommonReportUsage[source]

Bases: object

The class that reports the resource usage

__dict__ = mappingproxy({'__module__': 'PyFoam.Applications.CommonReportUsage', '__doc__': ' The class that reports the resource usage\n ', 'addOptions': <function CommonReportUsage.addOptions>, 'reportUsage': <function CommonReportUsage.reportUsage>, '__dict__': <attribute '__dict__' of 'CommonReportUsage' objects>, '__weakref__': <attribute '__weakref__' of 'CommonReportUsage' objects>})
__module__ = 'PyFoam.Applications.CommonReportUsage'
__weakref__

list of weak references to the object (if defined)

addOptions()[source]
reportUsage(run)[source]