LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::NamedRegionTimer Struct Reference

This class is basically a combination of TimeRegion and Timer. More...

#include "llvm/Support/Timer.h"

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

Public Member Functions

 NamedRegionTimer (StringRef Name, StringRef Description, StringRef GroupName, StringRef GroupDescription, bool Enabled=true)
 
- Public Member Functions inherited from llvm::TimeRegion
 TimeRegion (Timer &t)
 
 TimeRegion (Timer *t)
 
 ~TimeRegion ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ NamedRegionTimer()

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

Definition at line 210 of file Timer.cpp.


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