Public Member Functions | Private Attributes | List of all members
gtsam::internal::AutoTicToc Class Reference

#include <timing.h>

Public Member Functions

 AutoTicToc (size_t id, const char *label)
 
void stop ()
 
 ~AutoTicToc ()
 

Private Attributes

size_t id_
 
bool isSet_
 
const char * label_
 

Detailed Description

Small class that calls internal::tic at construction, and internol::toc when destroyed

Definition at line 214 of file timing.h.

Constructor & Destructor Documentation

◆ AutoTicToc()

gtsam::internal::AutoTicToc::AutoTicToc ( size_t  id,
const char *  label 
)
inline

Definition at line 221 of file timing.h.

◆ ~AutoTicToc()

gtsam::internal::AutoTicToc::~AutoTicToc ( )
inline

Definition at line 229 of file timing.h.

Member Function Documentation

◆ stop()

void gtsam::internal::AutoTicToc::stop ( )
inline

Definition at line 225 of file timing.h.

Member Data Documentation

◆ id_

size_t gtsam::internal::AutoTicToc::id_
private

Definition at line 216 of file timing.h.

◆ isSet_

bool gtsam::internal::AutoTicToc::isSet_
private

Definition at line 218 of file timing.h.

◆ label_

const char* gtsam::internal::AutoTicToc::label_
private

Definition at line 217 of file timing.h.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:24:50