TimerRDTSC
-
class TimerRDTSC
Public Functions
-
TimerRDTSC(const int num = 0)
Construct a timer with labels.
-
void start(const int index)
Begin timing an index. If a previous index was timing, record previous.
- param index:
If the index is -1, then simply end and record.
-
std::vector<double> percents() const
Return the percentage of time spent in each index.
-
void add()
Add an index.
-
void erase(const int index)
Erase an index.
-
TimerRDTSC(const int num = 0)