LLVM API Documentation
#include <Timer.h>
Public Member Functions | |
NamedRegionTimer (StringRef Name, bool Enabled=true) | |
NamedRegionTimer (StringRef Name, StringRef GroupName, bool Enabled=true) |
NamedRegionTimer - 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.
NamedRegionTimer::NamedRegionTimer | ( | StringRef | Name, |
bool | Enabled = true |
||
) | [explicit] |
NamedRegionTimer::NamedRegionTimer | ( | StringRef | Name, |
StringRef | GroupName, | ||
bool | Enabled = true |
||
) | [explicit] |