Home | History | Annotate | Download | only in functional

Lines Matching refs:samples

142 	void					analyzeResults		(const std::vector<Sample>& samples, const CalibrationParams& calibrationParams);
403 std::vector<Vec2> getPointsFromSamples (const std::vector<FlushFinishCase::Sample>& samples, const deUint64 FlushFinishCase::Sample::*field)
405 vector<Vec2> points(samples.size());
407 for (size_t ndx = 0; ndx < samples.size(); ndx++)
408 points[ndx] = Vec2(float(samples[ndx].numDrawCalls), float(samples[ndx].*field));
414 T getMaximumValue (const std::vector<FlushFinishCase::Sample>& samples, const T FlushFinishCase::Sample::*field)
416 DE_ASSERT(!samples.empty());
418 T maxVal = samples[0].*field;
420 for (size_t ndx = 1; ndx < samples.size(); ndx++)
421 maxVal = de::max(maxVal, samples[ndx].*field);
426 void FlushFinishCase::analyzeResults (const std::vector<Sample>& samples, const CalibrationParams& calibrationParams)
428 const vector<Vec2> waitTimes = getPointsFromSamples(samples, &Sample::waitTime);
429 const vector<Vec2> readTimes = getPointsFromSamples(samples, &Sample::readPixelsTime);
437 tcu::ScopedLogSection section (m_testCtx.getLog(), "Samples", "Samples");
438 vector<Sample> sortedSamples (samples.begin(), samples.end());
492 vector<Sample> samples (NUM_SAMPLES);
524 for (size_t ndx = 0; ndx < samples.size(); ndx++)
540 samples[ndx].numDrawCalls = drawCallCount;
541 samples
542 samples[ndx].readPixelsTime = readFinishTime-readStartTime;
550 analyzeResults(samples, params);