|
SolidUtils
|
This class provides a means of timing a scoped region. It begins timing when it is created, and adds its duration to the parent timer when it is destroyed. More...
#include <Timer.hpp>
Public Member Functions | |
| Scope (Timer *const parent) | |
| Create a new Scope from the given timer. More... | |
| Scope (Scope &&scope) | |
| Move once Scope to this Scope. More... | |
| Scope (Scope const &other)=delete | |
| Deleted copy constructor. More... | |
| Scope & | operator= (Scope const &other)=delete |
| Deleted assignment operator. More... | |
| ~Scope () | |
| Destroy this timer Scope. | |
This class provides a means of timing a scoped region. It begins timing when it is created, and adds its duration to the parent timer when it is destroyed.
|
inline |
Create a new Scope from the given timer.
| parent | The parent timer. |
|
inline |
|
delete |
Deleted copy constructor.
| other | The Scope to copy. |
1.8.13