LLVM 18.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.


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


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


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.
void llvm::timeTraceProfilerBegin (StringRef Name, StringRef Detail)
 Manually begin a time section, with the given Name and Detail.
void llvm::timeTraceProfilerBegin (StringRef Name, llvm::function_ref< std::string()> Detail)
void llvm::timeTraceProfilerEnd ()
 Manually end the last time section.