Removed unused code.
This commit is contained in:
parent
630a5dce67
commit
6f93b7b38d
12 changed files with 19 additions and 591 deletions
|
@ -153,14 +153,6 @@ xmrig::BasicCpuInfo::BasicCpuInfo() :
|
|||
}
|
||||
|
||||
|
||||
size_t xmrig::BasicCpuInfo::optimalThreadsCount(size_t memSize, int maxCpuUsage) const
|
||||
{
|
||||
const size_t count = threads() / 2;
|
||||
|
||||
return count < 1 ? 1 : count;
|
||||
}
|
||||
|
||||
|
||||
xmrig::CpuThreads xmrig::BasicCpuInfo::threads(const Algorithm &algorithm) const
|
||||
{
|
||||
if (threads() == 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue