LLVM API Documentation

Public Member Functions
llvm::TimeRegion Class Reference

#include <Timer.h>

Inheritance diagram for llvm::TimeRegion:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TimeRegion (Timer &t)
 TimeRegion (Timer *t)
 ~TimeRegion ()

Detailed Description

The TimeRegion class is used as a helper class to call the startTimer() and stopTimer() methods of the Timer class. When the object is constructed, it starts the timer specified as its argument. When it is destroyed, it stops the relevant timer. This makes it easy to time a region of code.

Definition at line 127 of file Timer.h.


Constructor & Destructor Documentation

llvm::TimeRegion::TimeRegion ( Timer t) [inline, explicit]

Definition at line 131 of file Timer.h.

llvm::TimeRegion::TimeRegion ( Timer t) [inline, explicit]

Definition at line 134 of file Timer.h.

Definition at line 137 of file Timer.h.


The documentation for this class was generated from the following file: