LLVM
8.0.1
|
The TimeRegion class is used as a helper class to call the startTimer() and stopTimer() methods of the Timer class. More...
#include "llvm/Support/Timer.h"
Public Member Functions | |
TimeRegion (Timer &t) | |
TimeRegion (Timer *t) | |
~TimeRegion () | |
The TimeRegion class is used as a helper class to call the startTimer() and stopTimer() methods of the Timer class.
When the object is constructed, it starts the timer specified as its argument. When it is destroyed, it stops the relevant timer. This makes it easy to time a region of code.
|
inlineexplicit |
Definition at line 146 of file Timer.h.
References llvm::Timer::startTimer().
|
inlineexplicit |
Definition at line 149 of file Timer.h.
References llvm::Timer::startTimer().
|
inline |
Definition at line 152 of file Timer.h.
References llvm::Timer::stopTimer().