public IDisposable MeasureDuration() { return(DurationMeasurer.MeasureDuration(d => this.Duration = d)); }
public IDisposable ReportDeploymentTime() { return(DurationMeasurer.MeasureDuration(duration => this.deploymentTime.Update(duration.TotalSeconds, new string[] { true.ToString() }))); }
public IDisposable MeasureTime(string command) { return(DurationMeasurer.MeasureDuration(duration => this.commandTiming.Set(duration.TotalSeconds, new string[] { command, true.ToString() }))); }