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;
1834 bool ShaderCompilerCase::goodEnoughMeasurements (const vector<Measurement>& measurements) const
1836 if ((int)measurements.size() < m_minimumMeasurementCount)
1840 if ((int)measurements.size() >= m_maximumMeasurementCount)
1845 for (int i = 0; i < (int)measurements.size(); i++)
1846 totalTimesWithoutDraw.push_back(measurements[i].totalTimeWithoutDraw());
1854 // Before actual measurements, compile and draw with a minimal shader to avoid possible initial slowdowns in the actual test.
1882 vector<Measurement> measurements;
1883 // \note These are logged after measurements are done.
1890 // Actual test measurements.
1891 while (!goodEnoughMeasurements(measurements))
1896 // \note Shader data (sources and inputs) are generated and GL shader and program objects are created before any time measurements.
1897 ProgramContext progCtx = generateShaderData((int)measurements.size());
1903 const deUint32 hash = m_startHash ^ (deUint32)deInt32Hash((deInt32)measurements.size());
1959 measurements.push_back(Measurement((deInt64)(shaderSourceSetEndTime - startTime),
1974 // End of test case, log information about measurements.
1997 log << TestLog::Section("IterationMeasurements", "Iteration measurements of compilation and linking times");
1999 DE_ASSERT((int)measurements.size() > (m_avoidCache ? 0 : 1));
2001 for (int ndx = 0; ndx < (int)measurements.size(); ndx++)
2003 const Measurement& curMeas = measurements[ndx];
2056 << " of the above measurements:"
2076 << " for compilation time of the lowest 50% of measurements" << TestLog::EndMessage;
2100 log << TestLog::Message << (isEntireRange ? "For all measurements:" : "\nFor only the lowest 50% of the measurements:") << TestLog::EndMessage;
2119 log << TestLog::Message << "Note: test result is the first quartile (i.e. median of the lowest half of measurements) of compilation times" << TestLog::EndMessage;
2436 bool InvalidShaderCompilerCase::goodEnoughMeasurements (const vector<Measurement>& measurements) const
2438 if ((int)measurements.size() < m_minimumMeasurementCount)
2442 if ((int)measurements.size() >= m_maximumMeasurementCount)
2447 for (int i = 0; i < (int)measurements.size(); i++)
2448 totalTimes.push_back(measurements[i].totalTime());
2462 // Before actual measurements, compile a minimal shader to avoid possible initial slowdowns in the actual test.
2486 vector<Measurement> measurements;
2487 // \note These are logged after measurements are done.
2494 // Actual test measurements.
2495 while (!goodEnoughMeasurements(measurements))
2499 // \note Shader sources are generated and GL shader objects are created before any time measurements.
2500 ProgramContext progCtx = generateShaderSources((int)measurements.size());
2537 measurements.push_back(Measurement((deInt64)(shaderSourceSetEndTime - startTime),
2547 // End of test case, log information about measurements.
2556 log << TestLog::Section("IterationMeasurements", "Iteration measurements of compilation times");
2558 for (int ndx = 0; ndx < (int)measurements.size(); ndx++)
2560 sourceSetTimes.push_back (measurements[ndx].sourceSetTime);
2561 vertexCompileTimes.push_back (measurements[ndx].vertexCompileTime);
2562 fragmentCompileTimes.push_back (measurements[ndx].fragmentCompileTime);
2563 totalTimes.push_back (measurements[ndx].totalTime());
2568 "ms", QP_KEY_TAG_TIME, (float)measurements[ndx].totalTime()/1000.0f);
2581 << " of the above measurements:"
2626 log << TestLog::Message << (isEntireRange ? "For all measurements:" : "\nFor only the lowest 50% of the measurements:") << TestLog::EndMessage;
2640 log << TestLog::Message << "Note: test result is the first quartile (i.e. median of the lowest half of measurements) of total times" << TestLog::EndMessage;