LLVM: llvm::TimeTraceScope Class Reference (original) (raw)
The TimeTraceScope is a helper class to call the begin and end functions of the time trace profiler. More...
#include "[llvm/Support/TimeProfiler.h](TimeProfiler%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| TimeTraceScope ()=delete | |
| TimeTraceScope (const TimeTraceScope &)=delete | |
| TimeTraceScope & | operator= (const TimeTraceScope &)=delete |
| TimeTraceScope (TimeTraceScope &&)=delete | |
| TimeTraceScope & | operator= (TimeTraceScope &&)=delete |
| TimeTraceScope (StringRef Name) | |
| TimeTraceScope (StringRef Name, StringRef Detail) | |
| TimeTraceScope (StringRef Name, llvm::function_ref< std::string()> Detail) | |
| TimeTraceScope (StringRef Name, llvm::function_ref< TimeTraceMetadata()> Metadata) | |
| ~TimeTraceScope () |
The TimeTraceScope is a helper class to call the begin and end functions of the time trace profiler.
When the object is constructed, it begins the section; and when it is destroyed, it stops it. If the time profiler is not initialized, the overhead is a single branch.
Definition at line 182 of file TimeProfiler.h.
| llvm::TimeTraceScope::TimeTraceScope ( ) | delete |
|---|
Referenced by operator=(), operator=(), TimeTraceScope(), and TimeTraceScope().
◆ TimeTraceScope() [2/7]
References TimeTraceScope().
◆ TimeTraceScope() [3/7]
References TimeTraceScope().
◆ TimeTraceScope() [4/7]
| llvm::TimeTraceScope::TimeTraceScope ( StringRef Name) | inline |
|---|
◆ TimeTraceScope() [5/7]
◆ TimeTraceScope() [6/7]
◆ TimeTraceScope() [7/7]
◆ ~TimeTraceScope()
| llvm::TimeTraceScope::~TimeTraceScope ( ) | inline |
|---|
◆ operator=() [1/2]
References TimeTraceScope().
◆ operator=() [2/2]
References TimeTraceScope().
The documentation for this class was generated from the following file:
- include/llvm/Support/TimeProfiler.h