|
LLVM_ABI TimeTraceProfiler * | llvm::getTimeTraceProfilerInstance () |
LLVM_ABI bool | llvm::isTimeTraceVerbose () |
LLVM_ABI void | llvm::timeTraceProfilerInitialize (unsigned TimeTraceGranularity, StringRef ProcName, bool TimeTraceVerbose=false) |
| Initialize the time trace profiler.
|
LLVM_ABI void | llvm::timeTraceProfilerCleanup () |
| Cleanup the time trace profiler, if it was initialized.
|
LLVM_ABI 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?
|
LLVM_ABI void | llvm::timeTraceProfilerWrite (raw_pwrite_stream &OS) |
| Write profiling data to output stream.
|
LLVM_ABI Error | llvm::timeTraceProfilerWrite (StringRef PreferredFileName, StringRef FallbackFileName) |
| Write profiling data to a file.
|
LLVM_ABI TimeTraceProfilerEntry * | llvm::timeTraceProfilerBegin (StringRef Name, StringRef Detail) |
| Manually begin a time section, with the given Name and Detail .
|
LLVM_ABI TimeTraceProfilerEntry * | llvm::timeTraceProfilerBegin (StringRef Name, llvm::function_ref< std::string()> Detail) |
LLVM_ABI TimeTraceProfilerEntry * | llvm::timeTraceProfilerBegin (StringRef Name, llvm::function_ref< TimeTraceMetadata()> MetaData) |
LLVM_ABI TimeTraceProfilerEntry * | llvm::timeTraceAsyncProfilerBegin (StringRef Name, StringRef Detail) |
| Manually begin a time section, with the given Name and Detail .
|
LLVM_ABI void | llvm::timeTraceAddInstantEvent (StringRef Name, llvm::function_ref< std::string()> Detail) |
LLVM_ABI void | llvm::timeTraceProfilerEnd () |
| Manually end the last time section.
|
LLVM_ABI void | llvm::timeTraceProfilerEnd (TimeTraceProfilerEntry *E) |