From 91b3115efb7e47967dccfa9d4e781ee7dc9ed465 Mon Sep 17 00:00:00 2001 From: kimwalisch Date: Wed, 14 Feb 2024 18:37:33 +0100 Subject: [PATCH] Improve timeout formatting --- src/app/stressTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/stressTest.cpp b/src/app/stressTest.cpp index 2417458aa..f1ff7fe34 100644 --- a/src/app/stressTest.cpp +++ b/src/app/stressTest.cpp @@ -125,7 +125,7 @@ std::string getTimeElapsed(int64_t secs) for (std::size_t i = 0; i < time.size(); i++) { - if (secs >= time[i]) + if (secs > time[i]) { timeStr += (timeStr.empty()) ? "" : " "; timeStr += std::to_string(secs / time[i]) + suffix[i];