LLVM
8.0.1
|
This class is basically a combination of TimeRegion and Timer. More...
#include "llvm/Support/Timer.h"
Public Member Functions | |
NamedRegionTimer (StringRef Name, StringRef Description, StringRef GroupName, StringRef GroupDescription, bool Enabled=true) | |
Public Member Functions inherited from llvm::TimeRegion | |
TimeRegion (Timer &t) | |
TimeRegion (Timer *t) | |
~TimeRegion () | |
This class is basically a combination of TimeRegion and Timer.
It allows you to declare a new timer, AND specify the region to time, all in one statement. All timers with the same name are merged. This is primarily used for debugging and for hunting performance problems.