1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

Unlock benchmark size for debug builds.

This commit is contained in:
XMRig
2020-11-16 08:56:35 +07:00
parent 926871cbe1
commit be8245fc92
2 changed files with 16 additions and 0 deletions

View File

@@ -137,5 +137,9 @@ uint32_t xmrig::BenchConfig::getSize(const char *benchmark)
return strcasecmp(benchmark, fmt::format("{}K", size).c_str()) == 0 ? size * 1000 : 0;
}
# ifndef NDEBUG
return size >= 10000 ? size : 0;
# else
return 0;
# endif
}