Timing Entry, arranged in a tree.
|
|
GTSAM_EXPORT | TimingOutline (const std::string &label, size_t myId) |
| | Constructor.
|
|
GTSAM_EXPORT size_t | time () const |
| | time taken, including children
|
|
double | secs () const |
| | time taken, in seconds, including children
|
|
double | self () const |
| | self time only, in seconds
|
|
double | wall () const |
| | wall time, in seconds
|
|
double | min () const |
| | min time, in seconds
|
|
double | max () const |
| | max time, in seconds
|
|
double | mean () const |
| | mean self time, in seconds
|
|
GTSAM_EXPORT void | print (const std::string &outline="") const |
|
GTSAM_EXPORT void | print2 (const std::string &outline="", const double parentTotal=-1.0) const |
| GTSAM_EXPORT void | printCsvHeader (bool addLineBreak=false) const |
| | Print the CSV header.
|
| GTSAM_EXPORT void | printCsv (bool addLineBreak=false) const |
| | Print the times recursively from parent to child in CSV format.
|
|
GTSAM_EXPORT const std::shared_ptr< TimingOutline > & | child (size_t child, const std::string &label, const std::weak_ptr< TimingOutline > &thisPtr) |
|
GTSAM_EXPORT void | tic () |
|
GTSAM_EXPORT void | toc () |
|
GTSAM_EXPORT void | finishedIteration () |
| void gtsam::internal::TimingOutline::printCsv |
( |
bool | addLineBreak = false | ) |
const |
Print the times recursively from parent to child in CSV format.
For each timing node, the output is (CPU time, number of times, wall time, time + children in seconds, min time, max time)
- Parameters
-
| addLineBreak | Flag indicating if a line break should be added at the end. Only used at the top-level. |