Definition at line 107 of file RangeIterator.h. References GetTotalIterations(), mCurrentIteration, and mLastIteration. 00108 { 00109 // for each loop (parameter range) assign a number of cpus and continue with the loop that contains this cpu. 00110 mCurrentIteration = (GetTotalIterations() * thisCpu) / nrCpus; 00111 mLastIteration = ((GetTotalIterations() * (thisCpu+1)) / nrCpus) - 1; 00112 }
Here is the call graph for this function:
|