Searched refs:SecondsToNanos (Results 1 – 2 of 2) sorted by relevance
123 const double SecondsToNanos = 1e9; field in Grpc.IntegrationTesting.ClientRunnerImpl227 … threadLocalHistogram.Value.AddObservation(stopwatch.Elapsed.TotalSeconds * SecondsToNanos); in RunUnary()246 … threadLocalHistogram.Value.AddObservation(stopwatch.Elapsed.TotalSeconds * SecondsToNanos); in RunUnaryAsync()268 … threadLocalHistogram.Value.AddObservation(stopwatch.Elapsed.TotalSeconds * SecondsToNanos); in RunStreamingPingPongAsync()296 … threadLocalHistogram.Value.AddObservation(stopwatch.Elapsed.TotalSeconds * SecondsToNanos); in RunGenericStreamingAsync()
38 const double SecondsToNanos = 1e9; field in Grpc.IntegrationTesting.StressTestClient68 Histogram histogram = new Histogram(0.01, 60 * SecondsToNanos);151 histogram.AddObservation(stopwatch.Elapsed.TotalSeconds * SecondsToNanos); in RunBodyAsync()