llvm::NamedRegionTimer::NamedRegionTimer

Create a named region timer in the named group.

Synopsis

Declared in <llvm/Support/Timer.h>

explicit
NamedRegionTimer(
    StringRef Name,
    StringRef Description,
    StringRef GroupName,
    StringRef GroupDescription,
    bool Enabled = true);

Parameters

NameDescription
NameThe name of the timer.
DescriptionA human-readable description of the timer.
GroupNameThe name of the timer group.
GroupDescriptionA human-readable description of the group.
EnabledIf false, the timer is not started.