Searched refs:SecondsToNanos (Results 1 – 4 of 4) 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()
45 int64 end_time = start_time + SecondsToNanos(1); in TEST()85 int64 end_time = start_time + SecondsToNanos(1); in TEST()
38 inline uint64 SecondsToNanos(double s) { return s * 1E9; } in SecondsToNanos() function