Unlock benchmark size for debug builds.
This commit is contained in:
parent
926871cbe1
commit
be8245fc92
2 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue