https://mooseframework.inl.gov
Classes | Functions
PerfGraphReporter.h File Reference

Go to the source code of this file.

Classes

class  PerfGraphReporter
 Reports the full graph from the PerfGraph. More...
 
struct  PerfGraphReporter::PerfGraphJSON
 Structure that holds the PerfGraph in JSON. More...
 

Functions

void to_json (nlohmann::json &json, const PerfGraphReporter::PerfGraphJSON &perf_graph_json)
 
void dataStore (std::ostream &, PerfGraphReporter::PerfGraphJSON &, void *)
 Store and load methods for const PerfGraph *, used in the PerfGraphReporter, which do nothing. More...
 
void dataLoad (std::istream &, PerfGraphReporter::PerfGraphJSON &, void *)
 

Function Documentation

◆ dataLoad()

void dataLoad ( std::istream &  ,
PerfGraphReporter::PerfGraphJSON ,
void  
)

Definition at line 102 of file PerfGraphReporter.C.

103 {
104 }

◆ dataStore()

void dataStore ( std::ostream &  ,
PerfGraphReporter::PerfGraphJSON ,
void  
)

Store and load methods for const PerfGraph *, used in the PerfGraphReporter, which do nothing.

They do nothing because the recover capability is retained in the PerfGraph itself, which will recover and append a previously ran graph to the current PerfGraph.

Definition at line 97 of file PerfGraphReporter.C.

98 {
99 }

◆ to_json()

void to_json ( nlohmann::json &  json,
const PerfGraphReporter::PerfGraphJSON perf_graph_json 
)

Definition at line 91 of file PerfGraphReporter.C.

92 {
93  json = perf_graph_json.value;
94 }