- Calculate 25% of total cores instead of hardcoded 2 cores - Use std::max(1u, totalCores / 4) to ensure minimum 1 core - Build affinity mask dynamically for calculated cores - This should fix stuck at 50% issue and scale properly |
||
|---|---|---|
| .. | ||
| 3rdparty | ||
| backend | ||
| base | ||
| core | ||
| crypto | ||
| hw | ||
| net | ||
| App_unix.cpp | ||
| App_win.cpp | ||
| App.cpp | ||
| App.h | ||
| config.json | ||
| donate.h | ||
| Summary.cpp | ||
| Summary.h | ||
| version.h | ||
| xmrig.cpp | ||
| xmrig.cpp.bak | ||