class TimeRegion
Declaration
class TimeRegion { /* full declaration omitted */ };
Description
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.
Declared at: llvm/include/llvm/Support/Timer.h:145
Member Variables
- private llvm::Timer* T
Method Overview
- private TimeRegion(const llvm::TimeRegion &)
- public TimeRegion(llvm::Timer & t)
- public TimeRegion(llvm::Timer * t)
- public ~TimeRegion()
Methods
¶TimeRegion(const llvm::TimeRegion&)
TimeRegion(const llvm::TimeRegion&)
Declared at: llvm/include/llvm/Support/Timer.h:147
Parameters
- const llvm::TimeRegion&
¶TimeRegion(llvm::Timer& t)
TimeRegion(llvm::Timer& t)
Declared at: llvm/include/llvm/Support/Timer.h:150
Parameters
- llvm::Timer& t
¶TimeRegion(llvm::Timer* t)
TimeRegion(llvm::Timer* t)
Declared at: llvm/include/llvm/Support/Timer.h:153
Parameters
- llvm::Timer* t
¶~TimeRegion()
~TimeRegion()
Declared at: llvm/include/llvm/Support/Timer.h:156