Lines Matching refs:sampleNdx
913 for (int sampleNdx = beginNdx; sampleNdx < endNdx; sampleNdx += step) in fitLineToSamples() local
917 point.x() = (float)(samples[sampleNdx].writtenSize); in fitLineToSamples()
918 point.y() = (float)(samples[sampleNdx].duration.*target); in fitLineToSamples()
931 for (int sampleNdx = beginNdx; sampleNdx < endNdx; sampleNdx += step) in fitLineToSamples() local
935 point.x() = (float)(samples[sampleNdx].renderDataSize); in fitLineToSamples()
936 point.y() = (float)(samples[sampleNdx].duration.*target); in fitLineToSamples()
1073 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in bucketizeSamplesUniformly() local
1075 DE_ASSERT(samples[sampleNdx].allocatedSize != 0); in bucketizeSamplesUniformly()
1077 if (!minBufferSize || samples[sampleNdx].allocatedSize < minBufferSize) in bucketizeSamplesUniformly()
1078 minBufferSize = samples[sampleNdx].allocatedSize; in bucketizeSamplesUniformly()
1079 if (!maxBufferSize || samples[sampleNdx].allocatedSize > maxBufferSize) in bucketizeSamplesUniformly()
1080 maxBufferSize = samples[sampleNdx].allocatedSize; in bucketizeSamplesUniformly()
1083 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in bucketizeSamplesUniformly() local
1085 …const float bucketNdxFloat = (float)(samples[sampleNdx].allocatedSize - minBufferSize) / (float)(m… in bucketizeSamplesUniformly()
1088 buckets[bucketNdx].push_back(samples[sampleNdx]); in bucketizeSamplesUniformly()
1374 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in logSampleList() local
1376 …(float)samples[sampleNdx].duration.fitResponseDuration - (theilSenFitting.offset + theilSenFitting… in logSampleList()
1378 << samples[sampleNdx].writtenSize in logSampleList()
1379 << samples[sampleNdx].bufferSize in logSampleList()
1380 << (int)samples[sampleNdx].duration.totalDuration in logSampleList()
1402 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in logSampleList() local
1404 …(float)samples[sampleNdx].duration.fitResponseDuration - (theilSenFitting.offset + theilSenFitting… in logSampleList()
1406 << samples[sampleNdx].writtenSize in logSampleList()
1407 << samples[sampleNdx].bufferSize in logSampleList()
1408 << (int)samples[sampleNdx].duration.totalDuration in logSampleList()
1409 << (int)samples[sampleNdx].duration.allocDuration in logSampleList()
1410 << (int)samples[sampleNdx].duration.mapDuration in logSampleList()
1411 << (int)samples[sampleNdx].duration.unmapDuration in logSampleList()
1412 << (int)samples[sampleNdx].duration.writeDuration in logSampleList()
1433 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in logSampleList() local
1435 …(float)samples[sampleNdx].duration.fitResponseDuration - (theilSenFitting.offset + theilSenFitting… in logSampleList()
1437 << samples[sampleNdx].writtenSize in logSampleList()
1438 << samples[sampleNdx].bufferSize in logSampleList()
1439 << (int)samples[sampleNdx].duration.totalDuration in logSampleList()
1440 << (int)samples[sampleNdx].duration.mapDuration in logSampleList()
1441 << (int)samples[sampleNdx].duration.unmapDuration in logSampleList()
1442 << (int)samples[sampleNdx].duration.writeDuration in logSampleList()
1465 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in logSampleList() local
1467 …(float)samples[sampleNdx].duration.fitResponseDuration - (theilSenFitting.offset + theilSenFitting… in logSampleList()
1469 << samples[sampleNdx].writtenSize in logSampleList()
1470 << samples[sampleNdx].bufferSize in logSampleList()
1471 << (int)samples[sampleNdx].duration.totalDuration in logSampleList()
1472 << (int)samples[sampleNdx].duration.allocDuration in logSampleList()
1473 << (int)samples[sampleNdx].duration.mapDuration in logSampleList()
1474 << (int)samples[sampleNdx].duration.unmapDuration in logSampleList()
1475 << (int)samples[sampleNdx].duration.writeDuration in logSampleList()
1476 << (int)samples[sampleNdx].duration.flushDuration in logSampleList()
1498 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in logSampleList() local
1500 …(float)samples[sampleNdx].duration.fitResponseDuration - (theilSenFitting.offset + theilSenFitting… in logSampleList()
1502 << samples[sampleNdx].writtenSize in logSampleList()
1503 << samples[sampleNdx].bufferSize in logSampleList()
1504 << (int)samples[sampleNdx].duration.totalDuration in logSampleList()
1505 << (int)samples[sampleNdx].duration.mapDuration in logSampleList()
1506 << (int)samples[sampleNdx].duration.unmapDuration in logSampleList()
1507 << (int)samples[sampleNdx].duration.writeDuration in logSampleList()
1508 << (int)samples[sampleNdx].duration.flushDuration in logSampleList()
1528 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in logSampleList() local
1530 …(float)samples[sampleNdx].duration.fitResponseDuration - (theilSenFitting.offset + theilSenFitting… in logSampleList()
1532 << samples[sampleNdx].renderDataSize in logSampleList()
1533 << samples[sampleNdx].numVertices in logSampleList()
1534 << (int)samples[sampleNdx].duration.renderReadDuration in logSampleList()
1535 << (int)samples[sampleNdx].duration.renderDuration in logSampleList()
1536 << (int)samples[sampleNdx].duration.readDuration in logSampleList()
1557 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in logSampleList() local
1559 …(float)samples[sampleNdx].duration.fitResponseDuration - (theilSenFitting.offset + theilSenFitting… in logSampleList()
1561 << samples[sampleNdx].renderDataSize in logSampleList()
1562 << samples[sampleNdx].numVertices in logSampleList()
1563 << samples[sampleNdx].unrelatedDataSize in logSampleList()
1564 << (int)samples[sampleNdx].duration.renderReadDuration in logSampleList()
1565 << (int)samples[sampleNdx].duration.renderDuration in logSampleList()
1566 << (int)samples[sampleNdx].duration.readDuration in logSampleList()
1589 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in logSampleList() local
1591 …(float)samples[sampleNdx].duration.fitResponseDuration - (theilSenFitting.offset + theilSenFitting… in logSampleList()
1593 << samples[sampleNdx].renderDataSize in logSampleList()
1594 << samples[sampleNdx].uploadedDataSize in logSampleList()
1595 << samples[sampleNdx].numVertices in logSampleList()
1596 << (int)samples[sampleNdx].duration.renderReadDuration in logSampleList()
1597 << (int)samples[sampleNdx].duration.totalDuration in logSampleList()
1598 << (int)samples[sampleNdx].duration.uploadDuration in logSampleList()
1599 << (int)samples[sampleNdx].duration.renderDuration in logSampleList()
1600 << (int)samples[sampleNdx].duration.readDuration in logSampleList()
1624 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in logSampleList() local
1626 …(float)samples[sampleNdx].duration.fitResponseDuration - (theilSenFitting.offset + theilSenFitting… in logSampleList()
1628 << samples[sampleNdx].renderDataSize in logSampleList()
1629 << samples[sampleNdx].uploadedDataSize in logSampleList()
1630 << samples[sampleNdx].numVertices in logSampleList()
1631 << samples[sampleNdx].unrelatedDataSize in logSampleList()
1632 << (int)samples[sampleNdx].duration.renderReadDuration in logSampleList()
1633 << (int)samples[sampleNdx].duration.totalDuration in logSampleList()
1634 << (int)samples[sampleNdx].duration.uploadDuration in logSampleList()
1635 << (int)samples[sampleNdx].duration.renderDuration in logSampleList()
1636 << (int)samples[sampleNdx].duration.readDuration in logSampleList()
1660 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in logSampleList() local
1662 …(float)samples[sampleNdx].duration.fitResponseDuration - (theilSenFitting.offset + theilSenFitting… in logSampleList()
1664 << samples[sampleNdx].renderDataSize in logSampleList()
1665 << samples[sampleNdx].uploadedDataSize in logSampleList()
1666 << samples[sampleNdx].numVertices in logSampleList()
1667 << (int)samples[sampleNdx].duration.renderReadDuration in logSampleList()
1668 << (int)samples[sampleNdx].duration.totalDuration in logSampleList()
1669 << (int)samples[sampleNdx].duration.firstRenderDuration in logSampleList()
1670 << (int)samples[sampleNdx].duration.uploadDuration in logSampleList()
1671 << (int)samples[sampleNdx].duration.secondRenderDuration in logSampleList()
1672 << (int)samples[sampleNdx].duration.readDuration in logSampleList()
1868 for (int sampleNdx = 0; sampleNdx < midPoint; ++sampleNdx) in generateTwoPassRandomIterationOrder() local
1869 iterationOrder[sampleNdx] = sampleNdx * 2; in generateTwoPassRandomIterationOrder()
1870 for (int sampleNdx = midPoint; sampleNdx < numSamples; ++sampleNdx) in generateTwoPassRandomIterationOrder() local
1871 iterationOrder[sampleNdx] = (sampleNdx - midPoint) * 2 + 1; in generateTwoPassRandomIterationOrder()
1946 for (int sampleNdx = 0; sampleNdx < m_numSamples; ++sampleNdx) in BasicBufferCase() local
1948 …float)bufferSizeMin + (float)(bufferSizeMax - bufferSizeMin) * ((float)(sampleNdx + 1) / (float)m_… in BasicBufferCase()
1952 m_results[sampleNdx].bufferSize = bufferSize; in BasicBufferCase()
1953 m_results[sampleNdx].allocatedSize = allocatedBufferSize; in BasicBufferCase()
1954 m_results[sampleNdx].writtenSize = -1; in BasicBufferCase()
2136 const int sampleNdx = m_iterationOrder[currentIteration]; in iterate() local
2137 const bool sampleRunSuccessful = runSample(currentIteration, m_results[sampleNdx]); in iterate()
4668 for (int sampleNdx = 0; sampleNdx < (int)m_samples.size(); ++sampleNdx) in logAndSetTestResult() local
4671 << m_samples[sampleNdx] in logAndSetTestResult()
5591 for (int sampleNdx = 0; sampleNdx < m_numSamplesPerSwap; ++sampleNdx) in init() local
5593 const int index = numSwaps*m_numSamplesPerSwap + sampleNdx; in init()
5967 for (int sampleNdx = 0; sampleNdx < (int)m_samples.size(); ++sampleNdx) in logSamples() local
5970 << m_samples[sampleNdx].numFrames in logSamples()
5971 << (int)m_results[sampleNdx].timeBeforeUse in logSamples()
5972 << runOrder[sampleNdx] in logSamples()
5973 << (int)m_results[sampleNdx].renderReadDuration in logSamples()
5974 << (int)(m_results[sampleNdx].renderReadDuration + m_results[sampleNdx].uploadDuration) in logSamples()
5975 << (int)m_results[sampleNdx].uploadDuration in logSamples()
5976 << (int)m_results[sampleNdx].renderDuration in logSamples()
5977 << (int)m_results[sampleNdx].readDuration in logSamples()
6003 for (int sampleNdx = 0; sampleNdx < (int)testSamples.size(); ++sampleNdx) in sumOfRanks() local
6005 const deUint64 testSample = testSamples[sampleNdx]; in sumOfRanks()
6102 for (int sampleNdx = m_numMaxSwaps-1; sampleNdx != -1; --sampleNdx ) in findStabilizationSample() local
6105 …for (int cmpTargetDistribution = sampleNdx+1; cmpTargetDistribution <= m_numMaxSwaps; ++cmpTargetD… in findStabilizationSample()
6108 …const DistributionCompareResult result = distributionCompare(sampleObservations[sampleNdx], sample… in findStabilizationSample()
6112 if (sampleNdx == m_numMaxSwaps-1) in findStabilizationSample()
6116 …<< description << ": Samples with swap count " << sampleNdx << " and " << cmpTargetDistribution <<… in findStabilizationSample()
6118 …<< "\tSwap count " << sampleNdx << " median: " << linearSample(sampleObservations[sampleNdx], 0.5f… in findStabilizationSample()
6127 …<< description << ": Samples with swap count " << sampleNdx << " and " << cmpTargetDistribution <<… in findStabilizationSample()
6128 … << "\tSamples with swap count " << sampleNdx << " are not part of the tail of stable results.\n" in findStabilizationSample()
6130 …<< "\tSwap count " << sampleNdx << " median: " << linearSample(sampleObservations[sampleNdx], 0.5f… in findStabilizationSample()
6134 return sampleNdx+1; in findStabilizationSample()