LLVM API Documentation

llvm::NamedRegionTimer Struct Reference

#include <Timer.h>

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

List of all members.

Public Member Functions

 NamedRegionTimer (const std::string &Name)
 NamedRegionTimer (const std::string &Name, const std::string &GroupName)


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 133 of file Timer.h.


Constructor & Destructor Documentation

NamedRegionTimer::NamedRegionTimer ( const std::string &  Name  )  [explicit]

Definition at line 224 of file Timer.cpp.

NamedRegionTimer::NamedRegionTimer ( const std::string &  Name,
const std::string &  GroupName 
) [explicit]

Definition at line 227 of file Timer.cpp.


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