示例#1
0
 internal static void StartOptimizer(
     this IProfilerScope ps)
 {
     ps.MarkStart("optimizerTime");
 }
示例#2
0
 internal static void StartSourceGenerator(
     this IProfilerScope ps)
 {
     ps.MarkStart("sourceGeneratorTime");
 }
示例#3
0
 internal static void StartPreprocessor(
     this IProfilerScope ps)
 {
     ps.MarkStart("preprocessorTime");
 }
示例#4
0
 internal static void StartParsing(
     this IProfilerScope ps)
 {
     ps.MarkStart("parserTime");
 }
 internal static IDisposable NewTiming(IProfilerScope self, string name)
 {
     self.MarkStart(name);
     return(new DisposableAction(self.MarkEnd));
 }