Skip to content

Commit

Permalink
Improve timeout formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Feb 14, 2024
1 parent 781e22f commit 91b3115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/stressTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 91b3115

Please sign in to comment.