Node representing a timed region in the hierarchy.
More...
#include <timer.hpp>
|
| | TimerNode (const std::string &n, TimerNode *p=nullptr) |
| | Constructor.
|
| |
| void | clear_this_and_children () |
| |
| std::string | to_json (int indent=0) const |
| | Convert this node (and children) to JSON (per-rank)
|
| |
| std::string | to_agg_json (int indent=0) const |
| | Convert this node (and children) to JSON with MPI-aggregated statistics.
|
| |
Node representing a timed region in the hierarchy.
- Note
- See class
Timer for actually running a timer.
◆ TimerNode()
| terra::util::TimerNode::TimerNode |
( |
const std::string & |
n, |
|
|
TimerNode * |
p = nullptr |
|
) |
| |
|
inline |
◆ clear_this_and_children()
| void terra::util::TimerNode::clear_this_and_children |
( |
| ) |
|
|
inline |
◆ to_agg_json()
| std::string terra::util::TimerNode::to_agg_json |
( |
int |
indent = 0 | ) |
const |
|
inline |
Convert this node (and children) to JSON with MPI-aggregated statistics.
◆ to_json()
| std::string terra::util::TimerNode::to_json |
( |
int |
indent = 0 | ) |
const |
|
inline |
Convert this node (and children) to JSON (per-rank)
◆ TimerTree
The documentation for this class was generated from the following file: