KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
|
Printer class that prints an evaluated TimerTree in Json format. More...
#include <printer.hpp>
Public Member Functions | |
SimpleJsonPrinter () | |
Construct a printer that use std::cout as outstream. | |
SimpleJsonPrinter (std::ostream &outstream) | |
Construct a printer printing to a given outstream. | |
SimpleJsonPrinter (std::ostream &outstream, std::vector< std::pair< std::string, std::string > > config_info) | |
Construct a printer printing to a given outstream and adding additional configuration info. | |
void | print (AggregatedTreeNode< Duration > const &node, std::size_t indentation=0) |
Prints an evaluated TimerTree in Json format to stdout. | |
Printer class that prints an evaluated TimerTree in Json format.
Duration | Type to represent a duration. |
|
inline |
Construct a printer printing to a given outstream.
outstream | Outstream on which the content is printed. |
|
inline |
Construct a printer printing to a given outstream and adding additional configuration info.
outstream | Outstream on which the content is printed. |
config_info | Additional configuration info (vector of key-value pairs), which will be printed as a "config" - dict by the printer. |
|
inline |
Prints an evaluated TimerTree in Json format to stdout.
node | Root node of the TimerTree to print. |
indentation | Indentation to use for the node. |