LLVM API Documentation

Public Member Functions
llvm::NamedRegionTimer Struct Reference

#include <Timer.h>

Inheritance diagram for llvm::NamedRegionTimer:
Inheritance graph
[legend]
Collaboration diagram for llvm::NamedRegionTimer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NamedRegionTimer (StringRef Name, bool Enabled=true)
 NamedRegionTimer (StringRef Name, StringRef GroupName, bool Enabled=true)

Detailed Description

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.

Definition at line 148 of file Timer.h.


Constructor & Destructor Documentation

NamedRegionTimer::NamedRegionTimer ( StringRef  Name,
bool  Enabled = true 
) [explicit]

Definition at line 237 of file Timer.cpp.

NamedRegionTimer::NamedRegionTimer ( StringRef  Name,
StringRef  GroupName,
bool  Enabled = true 
) [explicit]

Definition at line 241 of file Timer.cpp.


The documentation for this struct was generated from the following files: