LLVM 20.0.0git
|
The TimeTraceScope is a helper class to call the begin and end functions of the time trace profiler. More...
#include "llvm/Support/TimeProfiler.h"
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 180 of file TimeProfiler.h.
|
delete |
|
delete |
|
delete |
|
inline |
Definition at line 188 of file TimeProfiler.h.
Definition at line 190 of file TimeProfiler.h.
|
inline |
Definition at line 192 of file TimeProfiler.h.
|
inline |
Definition at line 194 of file TimeProfiler.h.
|
inline |
Definition at line 197 of file TimeProfiler.h.
References llvm::timeTraceProfilerEnd().
|
delete |
|
delete |