ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
TimeStack Class Reference

#include <Common.h>

Public Member Functions

 TimeStack ()
 
void tic ()
 
std::string toc () const
 
double tocDouble () const
 

Protected Attributes

clock_t lastTime
 

Detailed Description

Definition at line 53 of file Common.h.

Constructor & Destructor Documentation

◆ TimeStack()

TimeStack::TimeStack ( )
inline

Definition at line 55 of file Common.h.

Member Function Documentation

◆ tic()

void TimeStack::tic ( )
inline

Definition at line 57 of file Common.h.

References lastTime.

Referenced by CP::CutPursuit< T >::run(), and CP::CutPursuit_KL< T >::split().

◆ toc()

std::string TimeStack::toc ( ) const
inline

Definition at line 59 of file Common.h.

References lastTime.

Referenced by CP::CutPursuit< T >::run().

◆ tocDouble()

double TimeStack::tocDouble ( ) const
inline

Definition at line 65 of file Common.h.

References lastTime.

Referenced by CP::CutPursuit< T >::run().

Member Data Documentation

◆ lastTime

clock_t TimeStack::lastTime
protected

Definition at line 71 of file Common.h.

Referenced by tic(), toc(), and tocDouble().


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