llvm::timeTraceProfilerEnabled

Is the time trace profiler enabled, i.e. initialized?

Synopsis

Declared in <llvm/Support/TimeProfiler.h>

bool
timeTraceProfilerEnabled();

Return Value

True if a profiler instance is initialized for this thread.