Rendu
A lightweight rendering engine for experimentations
|
Perform CPU duration measurement between two time points. More...
#include <Query.hpp>
Public Member Functions | |
Query () | |
void | begin () |
void | end () |
uint64_t | value () |
Perform CPU duration measurement between two time points.
Query::Query | ( | ) |
Constructor.
void Query::begin | ( | ) |
Start measuring the timing.
void Query::end | ( | ) |
End the measurement.
uint64_t Query::value | ( | ) |
Query the last timing measured. Unit used is nanoseconds.