public void EndMeasure(Stopwatch watch, string label) { var diff = watch.Elapsed; watch.Stop(); LogLatency(label, diff.TotalSeconds); }