public MiniProfiler calInside(int idx) { profiler.Inline(() => Slowpoke.Sleep(2, 5, 20), "inside inline"); using (profiler.Step("inside step")) Slowpoke.Sleep(2, 4, 10); // mp.Stop(); return(profiler); }