Fixed bug in ThreadAllocation getTotalNumberOfThreads
-- It isnt data + cpu its data * cpu threads.
This commit is contained in:
parent
225f3a0ebe
commit
dddf148a59
|
|
@ -81,7 +81,7 @@ public class ThreadAllocation {
|
|||
* @return the sum of all thread allocations in this object
|
||||
*/
|
||||
public int getTotalNumThreads() {
|
||||
return getNumDataThreads() + getNumCPUThreadsPerDataThread() + getNumIOThreads();
|
||||
return getNumDataThreads() * getNumCPUThreadsPerDataThread() + getNumIOThreads();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue