llvm::timeTraceProfilerInitialize

Initialize the time trace profiler. This sets up the global TimeTraceProfilerInstance variable to be the profiler instance.

Synopsis

Declared in <llvm/Support/TimeProfiler.h>

void
timeTraceProfilerInitialize(
    unsigned int TimeTraceGranularity,
    StringRef ProcName,
    bool TimeTraceVerbose = false);

Parameters

NameDescription
ProcNameRepresent a constant reference to a string, i.e. a character array and a length, which need not be null terminated.