public void Run() { var stopWatch = new Stopwatch(); stopWatch.Start(); _procedure.Run(); stopWatch.Stop(); // Log elapsed time with w/e you are using for logging. }