www.mooseframework.org
Functions
PerformanceData.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< PerformanceData > ()
 

Function Documentation

Definition at line 22 of file PerformanceData.C.

23 {
25 
26  MooseEnum column_options("n_calls total_time average_time total_time_with_sub "
27  "average_time_with_sub percent_of_active_time "
28  "percent_of_active_time_with_sub",
29  "total_time_with_sub");
30  params.addParam<MooseEnum>(
31  "column", column_options, "The column you want the value of (Default: total_time_with_sub).");
32 
33  MooseEnum common_categories("Application Execution Output Setup Utility", "Execution", true);
34  params.addParam<MooseEnum>("category", common_categories, "The category for the event");
35 
36  MooseEnum common_events("ACTIVE ALIVE solve() compute_residual() compute_jacobian()", "", true);
38  "event",
39  common_events,
40  "The name or \"label\" of the event. Must match event name exactly "
41  "including parenthesis if applicable. (\"ALIVE\" and \"ACTIVE\" are "
42  "also valid events, category and column are ignored for these "
43  "cases).");
44 
45  return params;
46 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< GeneralPostprocessor >()
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...