33 static const std::vector<ReporterValueName>
value_names;
void dataStore(std::ostream &, PerfGraphReporter::PerfGraphJSON &, void *)
Store and load methods for const PerfGraph *, used in the PerfGraphReporter, which do nothing.
void to_json(nlohmann::json &json, const PerfGraphReporter::PerfGraphJSON &perf_graph_json)
void dataLoad(std::istream &, PerfGraphReporter::PerfGraphJSON &, void *)
Reporter object that has a single execution of the "execute" method for each execute flag.
const InputParameters & parameters() const
Get the parameters of the object.
Reports the full graph from the PerfGraph.
static InputParameters validParams()
static const std::vector< ReporterValueName > value_names
The reporter values that this object declares; used within the CommonOutputAction to single out value...
std::size_t & _max_memory_this_rank
"_max_memory_this_proc" entry in the reporter; max memory for this rank
void execute() override
Execute method.
void finalize() override
Finalize.
PerfGraphJSON & _graph
"graph" entry in the reporter; the actual graph
std::vector< std::size_t > & _max_memory_per_rank
"max_memory_per_proc" entry in the reporter; max memory across all ranks
void initialize() override
Called before execute() is ever called so that data can be cleared.
The PerfGraph will hold the master list of all registered performance segments and the head PerfNode.
Structure that holds the PerfGraph in JSON.