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 237 of file timing.h.

Constructor & Destructor Documentation

◆ AutoTicToc()

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

Definition at line 244 of file timing.h.

◆ ~AutoTicToc()

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

Definition at line 252 of file timing.h.

Member Function Documentation

◆ stop()

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

Definition at line 248 of file timing.h.

Member Data Documentation

◆ id_

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

Definition at line 239 of file timing.h.

◆ isSet_

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

Definition at line 241 of file timing.h.

◆ label_

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

Definition at line 240 of file timing.h.


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


gtsam
Author(s):
autogenerated on Wed Mar 19 2025 03:15:50