LLVM 22.0.0git
|
This class is basically a combination of TimeRegion and Timer. More...
#include "llvm/Support/Timer.h"
Public Member Functions | |
LLVM_ABI | 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 () |
Static Public Member Functions | |
static LLVM_ABI TimerGroup & | getNamedTimerGroup (StringRef GroupName, StringRef GroupDescription) |
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.
|
explicit |
Definition at line 250 of file Timer.cpp.
References Enabled, llvm::get(), and namedGroupedTimers().
|
static |
Definition at line 258 of file Timer.cpp.
References namedGroupedTimers().