Lines Matching defs:timestamp

200 // Returns the timestamp mask given the number of valid timestamp bits.
206 // Checks support for timestamps and returns the timestamp mask.
220 void checkTimestampBits (deUint64 timestamp, deUint64 mask)
227 if (timestamp > mask)
230 msg << std::hex << "Invalid device timestamp value 0x" << timestamp << " according to device timestamp mask 0x" << mask;
520 // Check support for timestamp queries
588 // alloc timestamp values
644 // Get timestamp value from query pool
667 // Get timestamp value from query pool
707 return tcu::TestStatus::fail("Latter stage timestamp is smaller than the former stage timestamp.");
912 CalibratedTimestamp(deUint64 timestamp_, deUint64 deviation_) : timestamp{timestamp_}, deviation(deviation_) { }
913 CalibratedTimestamp() : timestamp{}, deviation{} { }
914 deUint64 timestamp;
1028 // Get timestamp mask.
1113 throw tcu::ResourceError("Unable to obtain host native timestamp for Win32");
1117 throw tcu::ResourceError("Host-native timestamp for Win32 less than zero");
1132 throw tcu::ResourceError("Unable to obtain host native timestamp for POSIX");
1181 // Verify all invalid timestamp bits are zero.
1308 const deUint64 diffNanos = getDeviceNanoseconds(positiveDiffWithOverflow(before.timestamp, after.timestamp, m_devTimestampMask));
1318 if (outOfRange(before.timestamp, written, after.timestamp))
1345 if (outOfRange(before, vkTS.timestamp, after))
1378 // Check device timestamp is as expected.
1379 const deUint64 devBeforeTicks = before[0].timestamp;
1380 const deUint64 devAfterTicks = after[0].timestamp;
1388 msg << "[" << domainName(devDomain) << "] Device expected timestamp differs " << devDiffNanos << " nanoseconds (expect value <= " << maxDevDiffNanos << ")";
1392 // Check host timestamp is as expected.
1393 const deUint64 hostBefore = getHostNanoseconds(before[1].timestamp);
1394 const deUint64 hostAfter = getHostNanoseconds(after[1].timestamp);
1402 msg << "[" << domainName(hostDomain) << "] Host expected timestamp differs " << hostDiff << " nanoseconds (expected value <= " << maxHostDiff << ")";
2716 deUint64 timestamp;
2746 // Check support for timestamp queries
2828 if (ta.timestamp == 0) {
2856 deUint64 timestamp;
2886 // Check support for timestamp queries
3184 // Check support for timestamp queries
3282 // Check timestamp mask for both 64-bit results.
3308 de::MovePtr<tcu::TestCaseGroup> timestampTests (new tcu::TestCaseGroup(testCtx, "timestamp"));
3372 // Record timestamp in different pipeline stages of advanced graphics tests
3404 de::MovePtr<tcu::TestCaseGroup> basicComputeTests (new tcu::TestCaseGroup(testCtx, "basic_compute_tests", "Record timestamp for compute stages"));
3429 de::MovePtr<tcu::TestCaseGroup> transferTests (new tcu::TestCaseGroup(testCtx, "transfer_tests", "Record timestamp for transfer stages"));
3504 // Only write timestamp command in the commmand buffer
3519 // Only write timestamp command in the commmand buffer
3536 // Reset timestamp query before copying results.