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 163 of file TimeProfiler.h.
|
delete |
|
delete |
|
delete |
|
inline |
Definition at line 171 of file TimeProfiler.h.
References llvm::getTimeTraceProfilerInstance(), Name, and llvm::timeTraceProfilerBegin().
Definition at line 175 of file TimeProfiler.h.
References llvm::getTimeTraceProfilerInstance(), Name, and llvm::timeTraceProfilerBegin().
|
inline |
Definition at line 179 of file TimeProfiler.h.
References llvm::getTimeTraceProfilerInstance(), Name, and llvm::timeTraceProfilerBegin().
|
inline |
Definition at line 183 of file TimeProfiler.h.
References llvm::getTimeTraceProfilerInstance(), Name, and llvm::timeTraceProfilerBegin().
|
inline |
Definition at line 188 of file TimeProfiler.h.
References llvm::getTimeTraceProfilerInstance(), and llvm::timeTraceProfilerEnd().
|
delete |
|
delete |