protected void ExportCounters() { foreach (var counter in GlobalCounters.Export()) { NewCompilerTraceEvent(CompilerEvent.Counter, counter); } }