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

Impala::Util::TimePlot::TimePlot ( int  nrFunctions,
int  nrXCoords,
int *  xCoords,
int  nrSplitTimes,
int  nrRuns 
) [inline]

Definition at line 17 of file TimePlot.h.

References mData, mFuncDataSize, mNrFunctions, mNrRuns, mNrSplitTimes, mNrTimers, mNrXCoords, mRunDataSize, mTimerDataSize, mXCoordDataSize, and mXCoords.

00018                          : mTimer0(0), mTimer1(1)
00019     {
00020         mNrFunctions = nrFunctions;
00021         mNrXCoords = nrXCoords;
00022         mXCoords = new int[nrXCoords];
00023         for (int x=0 ; x<nrXCoords ; x++)
00024             mXCoords[x] = xCoords[x];
00025         mNrSplitTimes = nrSplitTimes;
00026         mNrRuns = nrRuns;
00027         mNrTimers = 2;
00028         mRunDataSize = mNrSplitTimes + 1; // +1 for final time
00029         mXCoordDataSize = mRunDataSize * mNrRuns; 
00030         mFuncDataSize = mNrXCoords * mXCoordDataSize;
00031         mTimerDataSize = mNrFunctions * mFuncDataSize;
00032         mData = new double[mNrTimers * mTimerDataSize];
00033     }


Generated on Thu Jan 13 09:24:22 2011 for ImpalaSrc by  doxygen 1.5.1