Initialize the time trace profiler.
Declared in <llvm/Support/TimeProfiler.h>
void
timeTraceProfilerInitialize(
unsigned int TimeTraceGranularity,
StringRef ProcName,
bool TimeTraceVerbose = false);
This sets up the global TimeTraceProfilerInstance variable to be the profiler instance.
| Name | Description |
|---|---|
| TimeTraceGranularity | Minimum event duration in microseconds to keep. |
| ProcName | Process name stored in the trace metadata. |
| TimeTraceVerbose | If true, capture extra details such as filenames. |