#include <TimingNode.h>
◆ TimingNode() [1/2]
Creates and initialises the timing structure.
◆ TimingNode() [2/2]
◆ operator=()
◆ printImpl()
template<typename TP >
void walberla::timing::TimingNode< TP >::printImpl |
( |
std::ostream & | os, |
|
|
const std::string & | prefix, |
|
|
const double | totalTime, |
|
|
const double | parentTime, |
|
|
const int | firstColumn ) const |
Implementation of the recursive print function.
◆ swap()
◆ findTimer()
template<typename TP >
const Timer< TP > & findTimer |
( |
const TimingNode< TP > & | tn, |
|
|
const std::string & | name ) |
|
related |
Finds the specified timer in the timing hierarchy.
- Parameters
-
name | timer name which may include more than one hierarchy separated by "." findTimer(tn, "firstLevel.secondLevel.thirdLevel.timerName");
const Timer< TP > & findTimer(const TimingNode< TP > &tn, const std::string &name) Finds the specified timer in the timing hierarchy. Definition TimingNode.h:124
|
◆ getHierarchyDepth()
Utility function to find the depth of a TimingNode tree.
◆ getLongestTimerNameLength()
Utility function to find the length of the longest timer name.
◆ operator<<()
template<typename TP >
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const TimingNode< TP > & | tn ) |
|
related |
◆ reduceInplace()
Collects all the timing data from different processes.
- Attention
- Will overwrite the current timer data! Multiple calls will accumulate!
◆ reset()
Resets the timer in the TimingNode structure and all sub timers.
◆ synchronizeEntries()
Makes sure all nodes on all processes have the same children.
◆ timerExists()
template<typename TP >
bool timerExists |
( |
const TimingNode< TP > & | tn, |
|
|
const std::string & | name ) |
|
related |
Checks if the specified timer exists in the timing hierarchy.
- Parameters
-
name | timer name which may include more than one hierarchy separated by "." timerExists(tn, "firstLevel.secondLevel.thirdLevel.timerName");
bool timerExists(const TimingNode< TP > &tn, const std::string &name) Checks if the specified timer exists in the timing hierarchy. Definition TimingNode.h:143
|
◆ to_json()
template<typename TP >
void to_json |
( |
nlohmann::json & | j, |
|
|
const TimingNode< TP > & | tn ) |
|
related |
Converts a TimingNode to json.
The signature is required by the json library
ignore the first timer in the timing node since it is empty
◆ last_
Pointer to the parent node.
◆ timer_
◆ tree_
Collection of sub timers.
The documentation for this struct was generated from the following files:
- /builds/administration/walberla-website/walberla/src/core/timing/TimingNode.h
- /builds/administration/walberla-website/walberla/src/core/timing/TimingJSON.h