Lines Matching refs:measurements

486 	bool						goodEnoughMeasurements		(const vector<Measurement>& measurements) const;
491 bool m_avoidCache; // If true, avoid caching between measurements as well (and not only between test cases).
657 bool goodEnoughMeasurements (const vector<Measurement>& measurements) const;
1854 bool ShaderCompilerCase::goodEnoughMeasurements (const vector<Measurement>& measurements) const
1856 if ((int)measurements.size() < m_minimumMeasurementCount)
1860 if ((int)measurements.size() >= m_maximumMeasurementCount)
1865 for (int i = 0; i < (int)measurements.size(); i++)
1866 totalTimesWithoutDraw.push_back(measurements[i].totalTimeWithoutDraw());
1874 // Before actual measurements, compile and draw with a minimal shader to avoid possible initial slowdowns in the actual test.
1902 vector<Measurement> measurements;
1903 // \note These are logged after measurements are done.
1910 // Actual test measurements.
1911 while (!goodEnoughMeasurements(measurements))
1916 // \note Shader data (sources and inputs) are generated and GL shader and program objects are created before any time measurements.
1917 ProgramContext progCtx = generateShaderData((int)measurements.size());
1923 const deUint32 hash = m_startHash ^ (deUint32)deInt32Hash((deInt32)measurements.size());
1979 measurements.push_back(Measurement((deInt64)(shaderSourceSetEndTime - startTime),
1994 // End of test case, log information about measurements.
2017 log << TestLog::Section("IterationMeasurements", "Iteration measurements of compilation and linking times");
2019 DE_ASSERT((int)measurements.size() > (m_avoidCache ? 0 : 1));
2021 for (int ndx = 0; ndx < (int)measurements.size(); ndx++)
2023 const Measurement& curMeas = measurements[ndx];
2076 << " of the above measurements:"
2096 << " for compilation time of the lowest 50% of measurements" << TestLog::EndMessage;
2120 log << TestLog::Message << (isEntireRange ? "For all measurements:" : "\nFor only the lowest 50% of the measurements:") << TestLog::EndMessage;
2139 log << TestLog::Message << "Note: test result is the first quartile (i.e. median of the lowest half of measurements) of compilation times" << TestLog::EndMessage;
2456 bool InvalidShaderCompilerCase::goodEnoughMeasurements (const vector<Measurement>& measurements) const
2458 if ((int)measurements.size() < m_minimumMeasurementCount)
2462 if ((int)measurements.size() >= m_maximumMeasurementCount)
2467 for (int i = 0; i < (int)measurements.size(); i++)
2468 totalTimes.push_back(measurements[i].totalTime());
2482 // Before actual measurements, compile a minimal shader to avoid possible initial slowdowns in the actual test.
2506 vector<Measurement> measurements;
2507 // \note These are logged after measurements are done.
2514 // Actual test measurements.
2515 while (!goodEnoughMeasurements(measurements))
2519 // \note Shader sources are generated and GL shader objects are created before any time measurements.
2520 ProgramContext progCtx = generateShaderSources((int)measurements.size());
2557 measurements.push_back(Measurement((deInt64)(shaderSourceSetEndTime - startTime),
2567 // End of test case, log information about measurements.
2576 log << TestLog::Section("IterationMeasurements", "Iteration measurements of compilation times");
2578 for (int ndx = 0; ndx < (int)measurements.size(); ndx++)
2580 sourceSetTimes.push_back (measurements[ndx].sourceSetTime);
2581 vertexCompileTimes.push_back (measurements[ndx].vertexCompileTime);
2582 fragmentCompileTimes.push_back (measurements[ndx].fragmentCompileTime);
2583 totalTimes.push_back (measurements[ndx].totalTime());
2588 "ms", QP_KEY_TAG_TIME, (float)measurements[ndx].totalTime()/1000.0f);
2601 << " of the above measurements:"
2646 log << TestLog::Message << (isEntireRange ? "For all measurements:" : "\nFor only the lowest 50% of the measurements:") << TestLog::EndMessage;
2660 log << TestLog::Message << "Note: test result is the first quartile (i.e. median of the lowest half of measurements) of total times" << TestLog::EndMessage;