LLVM 19.0.0git
Classes | Namespaces | Functions
TimeProfiler.h File Reference
#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/Support/Error.h"

Go to the source code of this file.

Classes

class  llvm::TimeTraceScope
 The TimeTraceScope is a helper class to call the begin and end functions of the time trace profiler. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

TimeTraceProfilerllvm::getTimeTraceProfilerInstance ()
 
void llvm::timeTraceProfilerInitialize (unsigned TimeTraceGranularity, StringRef ProcName)
 Initialize the time trace profiler.
 
void llvm::timeTraceProfilerCleanup ()
 Cleanup the time trace profiler, if it was initialized.
 
void llvm::timeTraceProfilerFinishThread ()
 Finish a time trace profiler running on a worker thread.
 
bool llvm::timeTraceProfilerEnabled ()
 Is the time trace profiler enabled, i.e. initialized?
 
void llvm::timeTraceProfilerWrite (raw_pwrite_stream &OS)
 Write profiling data to output stream.
 
Error llvm::timeTraceProfilerWrite (StringRef PreferredFileName, StringRef FallbackFileName)
 Write profiling data to a file.
 
TimeTraceProfilerEntryllvm::timeTraceProfilerBegin (StringRef Name, StringRef Detail)
 Manually begin a time section, with the given Name and Detail.
 
TimeTraceProfilerEntryllvm::timeTraceProfilerBegin (StringRef Name, llvm::function_ref< std::string()> Detail)
 
TimeTraceProfilerEntryllvm::timeTraceAsyncProfilerBegin (StringRef Name, StringRef Detail)
 Manually begin a time section, with the given Name and Detail.
 
void llvm::timeTraceProfilerEnd ()
 Manually end the last time section.
 
void llvm::timeTraceProfilerEnd (TimeTraceProfilerEntry *E)