|
gtsam
3.2.1
gtsam
|
Timing Entry, arranged in a tree.
Public Member Functions | |
| TimingOutline (const std::string &label, size_t myId) | |
| Constructor. | |
| 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 | |
| void | print (const std::string &outline="") const |
| void | print2 (const std::string &outline="", const double parentTotal=-1.0) const |
|
const boost::shared_ptr < TimingOutline > & | child (size_t child, const std::string &label, const boost::weak_ptr< TimingOutline > &thisPtr) |
| void | ticInternal () |
| void | tocInternal () |
| void | finishedIteration () |
Protected Types | |
|
typedef FastMap< size_t, boost::shared_ptr < TimingOutline > > | ChildMap |
Protected Member Functions | |
| void | add (size_t usecs, size_t usecsWall) |
Protected Attributes | |
| size_t | myId_ |
| size_t | t_ |
| size_t | tWall_ |
| double | t2_ |
| cache the t_i^2 | |
| size_t | tIt_ |
| size_t | tMax_ |
| size_t | tMin_ |
| size_t | n_ |
| size_t | myOrder_ |
| size_t | lastChildOrder_ |
| std::string | label_ |
| boost::weak_ptr< TimingOutline > | parent_ |
| parent pointer | |
| ChildMap | children_ |
| subtrees | |
| boost::timer | timer_ |
|
gtsam::ValueWithDefault< bool, false > | timerActive_ |
Friends | |
| GTSAM_EXPORT friend void | tocInternal (size_t id, const char *label) |