LLVM  12.0.0git
Classes | Namespaces | Functions
TimeProfiler.h File Reference
#include "llvm/Support/Error.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for TimeProfiler.h:
This graph shows which files directly or indirectly include this file:

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


 This class represents lattice values for constants.


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