MeshLib Documentation
Loading...
Searching...
No Matches
MR::Timer Class Reference

#include <MRTimer.h>

Public Member Functions

 Timer (std::string name)
 
 ~Timer ()
 
MRMESH_API void restart (std::string name)
 
MRMESH_API void start (std::string name)
 
MRMESH_API void finish ()
 
 Timer (const Timer &)=delete
 
Timeroperator= (const Timer &)=delete
 
 Timer (Timer &&)=delete
 
Timeroperator= (Timer &&)=delete
 
std::chrono::duration< double > secondsPassed () const
 

Constructor & Destructor Documentation

◆ Timer() [1/3]

MR::Timer::Timer ( std::string name)
inline

◆ ~Timer()

MR::Timer::~Timer ( )
inline

◆ Timer() [2/3]

MR::Timer::Timer ( const Timer & )
delete

◆ Timer() [3/3]

MR::Timer::Timer ( Timer && )
delete

Member Function Documentation

◆ finish()

MRMESH_API void MR::Timer::finish ( )

◆ operator=() [1/2]

Timer & MR::Timer::operator= ( const Timer & )
delete

◆ operator=() [2/2]

Timer & MR::Timer::operator= ( Timer && )
delete

◆ restart()

MRMESH_API void MR::Timer::restart ( std::string name)

◆ secondsPassed()

std::chrono::duration< double > MR::Timer::secondsPassed ( ) const
inline

◆ start()

MRMESH_API void MR::Timer::start ( std::string name)

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