|
Hermes
|
Holds a labeled profiler block with start/end time points. More...
#include <profiler.h>
Public Member Functions | |
| Block (u32 desc_id) | |
| Value constructor. | |
| u64 | begin () const noexcept |
| block start time point (in ticks) | |
| u64 | end () const noexcept |
| block end time point (in ticks) | |
| u64 | duration () const noexcept |
| block duration (in ticks) | |
Public Attributes | |
| u32 | descriptor_id {0} |
| block descriptor identifier | |
| u32 | level {0} |
| profile stack level | |
Holds a labeled profiler block with start/end time points.
|
explicit |
Value constructor.
| desc_id | block descriptor id (label) |
|
inlinenoexcept |
block start time point (in ticks)
|
inlinenoexcept |
block duration (in ticks)
|
inlinenoexcept |
block end time point (in ticks)