Fixed bug in ThreadAllocation getTotalNumberOfThreads

-- It isnt data + cpu its data * cpu threads.
This commit is contained in:
Mark DePristo 2012-09-05 16:35:32 -04:00
parent 225f3a0ebe
commit dddf148a59
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
/**