Timing utilities.
More...
Go to the source code of this file.
|
| namespace | gtsam |
| | Global functions in a separate testing namespace.
|
|
|
size_t | gtsam::internal::getTicTocID (const char *descriptionC) |
|
void | gtsam::internal::tic (size_t id, const char *labelC) |
|
void | gtsam::internal::toc (size_t id, const char *label) |
|
void | gtsam::tictoc_finishedIteration_ () |
|
void | gtsam::tictoc_print_ () |
|
void | gtsam::tictoc_print2_ () |
|
void | gtsam::tictoc_reset_ () |
|
|
GTSAM_EXTERN_EXPORT boost::shared_ptr< TimingOutline > | gtsam::internal::gTimingRoot |
|
GTSAM_EXTERN_EXPORT boost::weak_ptr< TimingOutline > | gtsam::internal::gCurrentTimer |
Timing utilities.
- Author
- Richard Roberts, Michael Kaess
- Date
- Oct 5, 2010
◆ gttic
◆ gttic_
Value:static const size_t label##_id_tic = ::gtsam::internal::getTicTocID(#label); \
Small class that calls internal::tic at construction, and internol::toc when destroyed.
Definition timing.h:199
◆ gttoc
◆ gttoc_
◆ longtic
◆ longtic_
| #define longtic_ |
( |
| label | ) |
|
Value:static const size_t label##_id_tic = ::gtsam::internal::getTicTocID(#label); \
::gtsam::internal::ticInternal(label##_id_tic, #label)
◆ longtoc
◆ longtoc_
| #define longtoc_ |
( |
| label | ) |
|
Value:static const size_t label##_id_toc = ::gtsam::internal::getTicTocID(#label); \
::gtsam::internal::tocInternal(label##_id_toc, #label)
◆ tictoc_finishedIteration
| #define tictoc_finishedIteration |
( |
| ) |
|
◆ tictoc_getNode
| #define tictoc_getNode |
( |
| variable, |
|
|
| label ) |
Value:static const size_t label##_id_getnode = ::gtsam::internal::getTicTocID(#label); \
const boost::shared_ptr<const ::gtsam::internal::TimingOutline> variable = \
::gtsam::internal::gCurrentTimer.lock()->child(label##_id_getnode, #label, ::gtsam::internal::gCurrentTimer);
◆ tictoc_print
◆ tictoc_reset