Base Framework
Public Member Functions | List of all members
TimeScope Class Reference

#include <base/Timer.h>

Inherits Object.

Public Member Functions

 TimeScope () noexcept
 
void start () noexcept
 
void stop () noexcept
 
void dump () const
 
 ~TimeScope ()
 

Detailed Description

Time a scope. For DEBUGGING only.

Constructor & Destructor Documentation

◆ TimeScope()

TimeScope::TimeScope ( )
inlinenoexcept

Start timer.

◆ ~TimeScope()

TimeScope::~TimeScope ( )
inline

Stop and show timer.

Member Function Documentation

◆ dump()

void TimeScope::dump ( ) const

Show timer.

◆ start()

void TimeScope::start ( )
inlinenoexcept

Start timer.

◆ stop()

void TimeScope::stop ( )
inlinenoexcept

Stop timer.