Timing utilities.
More...
Go to the source code of this file.
|
| gtsam |
| Global functions in a separate testing namespace.
|
|
|
#define | gttic_(label) |
|
#define | gttoc_(label) label##_obj.stop() |
|
#define | longtic_(label) |
|
#define | longtoc_(label) |
|
#define | tictoc_getNode(variable, label) |
|
#define | gttic(label) ((void)0) |
|
#define | gttoc(label) ((void)0) |
|
#define | longtic(label) ((void)0) |
|
#define | longtoc(label) ((void)0) |
|
#define | tictoc_finishedIteration() ((void)0) |
|
#define | tictoc_print() ((void)0) |
|
#define | tictoc_reset() ((void)0) |
|
|
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_
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
◆ longtic_
#define longtic_ |
( |
|
label | ) |
|
Value:static const size_t label##_id_tic = ::gtsam::internal::getTicTocID(#label); \
::gtsam::internal::ticInternal(label##_id_tic, #label)
◆ longtoc_
#define longtoc_ |
( |
|
label | ) |
|
Value:static const size_t label##_id_toc = ::gtsam::internal::getTicTocID(#label); \
::gtsam::internal::tocInternal(label##_id_toc, #label)
◆ 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);