Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Impala::Util::RangeIterator::InitialiseDistribution ( int  thisCpu,
int  nrCpus 
) [inline, private]

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:


Generated on Fri Mar 19 11:41:13 2010 for ImpalaSrc by  doxygen 1.5.1