|
KaMPIng 0.2.0
Flexible and (near) zero-overhead C++ bindings for MPI
|
Printer class that prints an evaluated TimerTree in a flat format in which the timer hierarchy is collapsed into a dot separated identifier per measurement. More...
#include <printer.hpp>
Public Member Functions | |
| FlatPrinter () | |
| Construct a printer that use std::cout as outstream. | |
| FlatPrinter (std::ostream &outstream) | |
| Construct a printer printing to a given outstream. | |
| template<typename Duration > | |
| void | print (AggregatedTreeNode< Duration > const &node) |
| Prints an evaluated TimerTree in Json format to stdout. | |
Printer class that prints an evaluated TimerTree in a flat format in which the timer hierarchy is collapsed into a dot separated identifier per measurement.
For example:
will return an output conceptually similar to
when printed with FlatPrinter.
|
inline |
Construct a printer printing to a given outstream.
| outstream | Outstream on which the content is printed. |
|
inline |
Prints an evaluated TimerTree in Json format to stdout.
| Duration | Type to represent a duration. |
| node | Root node of the TimerTree to print. |