PyFoam.Applications.ListProfilingInfo module¶
Application-class that implements pyFoamListProfilingInfo.py
-
class
PyFoam.Applications.ListProfilingInfo.
ListProfilingInfo
(args=None, **kwargs)[source]¶ Bases:
PyFoam.Applications.PyFoamApplication.PyFoamApplication
,PyFoam.Applications.CommonSelectTimesteps.CommonSelectTimesteps
-
AddFields
= ['totalTime', 'totalTimeMin', 'totalTimeMax', 'childTime', 'selfTime', 'nr_removed', 'calls', 'callsMin', 'callsMax']¶
-
__init__
(args=None, **kwargs)[source]¶ - Parameters
description – description of the command
epilog – text to be printed after the options-help
examples – usage examples to be printed after the epilog
usage – Usage
interspersed – Is the command line allowed to be interspersed (options after the arguments)
args – Command line arguments when using the Application as a ‘class’ from a script
nr – Number of required arguments
changeVersion – May this application change the version of OF used?
exactNr – Must not have more than the required number of arguments
subcommands – parse and use subcommands from the command line. Either True or a list with subcommands
inputApp – Application with input data. Used to allow a ‘pipe-like’ behaviour if the class is used from a Script
localConfigurationFile – Use this file (or list of files) as a local configuration
findLocalConfigurationFile – Method to find a configuration file BEFORE the actual parameters are parsed
allowCurses – This application can wrap the output in a curses-window
-
__module__
= 'PyFoam.Applications.ListProfilingInfo'¶
-
printProfilingInfo
(data, children, root, parallel=False)[source]¶ Prints the profiling info in a pseudo-graphical form
-
-
class
PyFoam.Applications.ListProfilingInfo.
Theme
(bgcolor=(0.0, 0.0, 1.0), mincolor=(0.0, 0.0, 0.0), maxcolor=(0.0, 0.0, 1.0), fontname='Arial', fontcolor='white', nodestyle='filled', minfontsize=10.0, maxfontsize=10.0, minpenwidth=0.5, maxpenwidth=4.0, gamma=2.2, skew=1.0)[source]¶ Bases:
object
-
__dict__
= mappingproxy({'__module__': 'PyFoam.Applications.ListProfilingInfo', '__init__': <function Theme.__init__>, 'graph_bgcolor': <function Theme.graph_bgcolor>, 'graph_fontname': <function Theme.graph_fontname>, 'graph_fontcolor': <function Theme.graph_fontcolor>, 'graph_fontsize': <function Theme.graph_fontsize>, 'node_bgcolor': <function Theme.node_bgcolor>, 'node_fgcolor': <function Theme.node_fgcolor>, 'node_fontsize': <function Theme.node_fontsize>, 'node_style': <function Theme.node_style>, 'edge_color': <function Theme.edge_color>, 'edge_fontsize': <function Theme.edge_fontsize>, 'edge_penwidth': <function Theme.edge_penwidth>, 'edge_arrowsize': <function Theme.edge_arrowsize>, 'fontsize': <function Theme.fontsize>, 'color': <function Theme.color>, 'hsl_to_rgb': <function Theme.hsl_to_rgb>, '_hue_to_rgb': <function Theme._hue_to_rgb>, '__dict__': <attribute '__dict__' of 'Theme' objects>, '__weakref__': <attribute '__weakref__' of 'Theme' objects>, '__doc__': None})¶
-
__init__
(bgcolor=(0.0, 0.0, 1.0), mincolor=(0.0, 0.0, 0.0), maxcolor=(0.0, 0.0, 1.0), fontname='Arial', fontcolor='white', nodestyle='filled', minfontsize=10.0, maxfontsize=10.0, minpenwidth=0.5, maxpenwidth=4.0, gamma=2.2, skew=1.0)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
__module__
= 'PyFoam.Applications.ListProfilingInfo'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
hsl_to_rgb
(h, s, l)[source]¶ Convert a color from HSL color-model to RGB. See also: - http://www.w3.org/TR/css3-color/#hsl-color
-