Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Feb 12, 2024
1 parent a09b666 commit 083679d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/stressTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ void stressTestInfo(const std::string& stressTestMode,

if (stressTestMode == "CPU")
{
int threads_1e18 = threads / 5;
int threads_1e13 = threads - threads_1e18;
int avgMiB = (threads_1e13 * 3 + threads_1e18 * 1160) / threads;
int threads_1e19 = threads / 5;
int threads_1e13 = threads - threads_1e19;
int avgMiB = (threads_1e13 * 3 + threads_1e19 * 1160) / threads;
double avgGiB = avgMiB / 1024.0;

if (threads * avgMiB < 1024)
Expand Down

0 comments on commit 083679d

Please sign in to comment.