Used to hold metadata about the registered sections Note: this is a class instead of a struct because structs are not able to be created in place using emplace_back in C++11. More...
#include <PerfGraphRegistry.h>
Public Member Functions | |
PerfGraphSectionInfo ()=default | |
PerfGraphSectionInfo (const PerfID id, const std::string &name, const unsigned int level, const std::string &live_message, const bool print_dots) | |
Public Attributes | |
PerfID | _id |
Unique ID. More... | |
std::string | _name |
The name. More... | |
unsigned int | _level |
Print level (verbosity level) More... | |
std::string | _live_message |
Message to print while the section is running. More... | |
bool | _print_dots |
Whether or not to print dots while this section runs. More... | |
Used to hold metadata about the registered sections Note: this is a class instead of a struct because structs are not able to be created in place using emplace_back in C++11.
This will be fixed in C++20.
Definition at line 43 of file PerfGraphRegistry.h.
|
default |
|
inline |
Definition at line 47 of file PerfGraphRegistry.h.
PerfID moose::internal::PerfGraphSectionInfo::_id |
Unique ID.
Definition at line 57 of file PerfGraphRegistry.h.
unsigned int moose::internal::PerfGraphSectionInfo::_level |
Print level (verbosity level)
Definition at line 63 of file PerfGraphRegistry.h.
Referenced by to_json().
std::string moose::internal::PerfGraphSectionInfo::_live_message |
Message to print while the section is running.
Definition at line 66 of file PerfGraphRegistry.h.
Referenced by PerfGraphLivePrint::printStats(), and PerfGraph::push().
std::string moose::internal::PerfGraphSectionInfo::_name |
The name.
Definition at line 60 of file PerfGraphRegistry.h.
Referenced by PerfGraph::printHeaviestSections().
bool moose::internal::PerfGraphSectionInfo::_print_dots |
Whether or not to print dots while this section runs.
Definition at line 69 of file PerfGraphRegistry.h.
Referenced by PerfGraphLivePrint::inSamePlace(), and PerfGraphLivePrint::printStats().