MeshLib Documentation
Loading...
Searching...
No Matches
MRTimer.h File Reference
#include "MRMeshFwd.h"
#include "MRPch/MRBindingMacros.h"
#include <chrono>
#include <string>

Go to the source code of this file.

Classes

class  MR::Timer
 

Namespaces

namespace  MR
 

Macros

#define MR_TIMER   MR::Timer _timer( __FUNCTION__ );
 
#define MR_NAMED_TIMER(name)   MR::Timer _named_timer( name );
 

Functions

MRMESH_API void MR::printTimingTreeAtEnd (bool on, double minTimeSec=0.1)
 
MRMESH_API void MR::printCurrentTimerBranch ()
 prints current timer branch
 
MRMESH_API void MR::printTimingTreeAndStop (double minTimeSec=0.1)
 

Macro Definition Documentation

◆ MR_NAMED_TIMER

#define MR_NAMED_TIMER ( name)    MR::Timer _named_timer( name );

◆ MR_TIMER

#define MR_TIMER   MR::Timer _timer( __FUNCTION__ );