26 params.
addParam<std::vector<VariableName>>(
28 "A list of the variables and postprocessors that should NOT be output to the" 29 "file (may include Variables, ScalarVariables, and Postprocessor names).");
34 "level", 1,
"The level of detail to output. Higher levels will yield more detail.");
36 params.
addParam<
bool>(
"heaviest_branch",
38 "Whether or not to print out the trace through the code that took the " 39 "longest amount of time");
41 params.
addParam<
unsigned int>(
"heaviest_sections",
43 "The number of sections to print out showing the parts of the code " 44 "that take the most time. When '0' it won't print at all.");
46 params.
addClassDescription(
"Controls output of the PerfGraph: the performance log for MOOSE");
54 _level(getParam<unsigned
int>(
"level")),
55 _heaviest_branch(getParam<bool>(
"heaviest_branch")),
56 _heaviest_sections(getParam<unsigned
int>(
"heaviest_sections"))
A MultiMooseEnum object to hold "execute_on" flags.
ExecFlagEnum _execute_on
The common Execution types; this is used as the default execution type for everything except system i...
registerMooseObject("MooseApp", PerfGraphOutput)
virtual void output() override
Overload this function with the desired output activities.
static InputParameters validParams()
Based class for output objects.
bool contains(const std::string &value) const
Contains methods for seeing if a value is in the MultiMooseEnum.
ExecFlagType _current_execute_flag
Current execute on flag.
MooseApp & _app
The MOOSE application this is associated with.
virtual bool shouldOutput() override
Handles logic for determining if a step should be output.
void print(const ConsoleStream &console, unsigned int level)
Print the tree out.
const T & getParam(const std::string &name)
Retrieve a parameter for the object.
void printHeaviestBranch(const ConsoleStream &console)
Print out the heaviest branch through the tree.
unsigned int _heaviest_sections
PerfGraph & perfGraph()
Get the PerfGraph.
PerfGraphOutput(const InputParameters ¶meters)
Class for output information regarding Controls to the screen.
void printHeaviestSections(const ConsoleStream &console, const unsigned int num_sections)
Print out the heaviest sections that were timed.
const ConsoleStream _console
An instance of helper class to write streams to the Console objects.
const ExecFlagType EXEC_FINAL
static InputParameters validParams()
void ErrorVector unsigned int