diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-05-11 20:55:29 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-05-11 20:55:29 -0700 |
commit | 1acbe3e8a8cfa8d35843b0007b9cd79d91c62c16 (patch) | |
tree | 2f3a5c7bbc598b17fc828869a1524ef2abfb9096 /src | |
parent | f86bbdefc92f604d61b962d6e58df0072a563f94 (diff) | |
parent | d151dcb12ca687edffcf63db1c7c1c0df520e695 (diff) |
Merge pull request #6545 from jtattermusch/csharp_stress_metrics_fix
Fix qps reporting in C# stress client
Diffstat (limited to 'src')
-rw-r--r-- | src/csharp/Grpc.IntegrationTesting/StressTestClient.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/StressTestClient.cs b/src/csharp/Grpc.IntegrationTesting/StressTestClient.cs index 8db691cb04..4d6ca7ece5 100644 --- a/src/csharp/Grpc.IntegrationTesting/StressTestClient.cs +++ b/src/csharp/Grpc.IntegrationTesting/StressTestClient.cs @@ -311,7 +311,7 @@ namespace Grpc.IntegrationTesting var snapshot = histogram.GetSnapshot(true); var elapsedSnapshot = wallClockStopwatch.GetElapsedSnapshot(true); - return (long) (snapshot.Count / elapsedSnapshot.Seconds); + return (long) (snapshot.Count / elapsedSnapshot.TotalSeconds); } } } |