Lines Matching refs:stopwatch
211 var stopwatch = new Stopwatch(); in RunUnary()
222 stopwatch.Restart(); in RunUnary()
224 stopwatch.Stop(); in RunUnary()
227 … threadLocalHistogram.Value.AddObservation(stopwatch.Elapsed.TotalSeconds * SecondsToNanos); in RunUnary()
237 var stopwatch = new Stopwatch(); in RunUnaryAsync()
241 stopwatch.Restart(); in RunUnaryAsync()
243 stopwatch.Stop(); in RunUnaryAsync()
246 … threadLocalHistogram.Value.AddObservation(stopwatch.Elapsed.TotalSeconds * SecondsToNanos); in RunUnaryAsync()
256 var stopwatch = new Stopwatch(); in RunStreamingPingPongAsync()
262 stopwatch.Restart(); in RunStreamingPingPongAsync()
265 stopwatch.Stop(); in RunStreamingPingPongAsync()
268 … threadLocalHistogram.Value.AddObservation(stopwatch.Elapsed.TotalSeconds * SecondsToNanos); in RunStreamingPingPongAsync()
282 var stopwatch = new Stopwatch(); in RunGenericStreamingAsync()
290 stopwatch.Restart(); in RunGenericStreamingAsync()
293 stopwatch.Stop(); in RunGenericStreamingAsync()
296 … threadLocalHistogram.Value.AddObservation(stopwatch.Elapsed.TotalSeconds * SecondsToNanos); in RunGenericStreamingAsync()