Home
last modified time | relevance | path

Searched refs:SecondsToNanos (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DClientRunners.cs123 const double SecondsToNanos = 1e9; field in Grpc.IntegrationTesting.ClientRunnerImpl
227 … 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()
DStressTestClient.cs38 const double SecondsToNanos = 1e9; field in Grpc.IntegrationTesting.StressTestClient
68 Histogram histogram = new Histogram(0.01, 60 * SecondsToNanos);
151 histogram.AddObservation(stopwatch.Elapsed.TotalSeconds * SecondsToNanos); in RunBodyAsync()
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dtraceme_recorder_test.cc45 int64 end_time = start_time + SecondsToNanos(1); in TEST()
85 int64 end_time = start_time + SecondsToNanos(1); in TEST()
/external/tensorflow/tensorflow/core/profiler/utils/
Dtime_utils.h38 inline uint64 SecondsToNanos(double s) { return s * 1E9; } in SecondsToNanos() function