1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-06 01:28:57 +00:00

Reduce test duration much closer to two frames.

This commit is contained in:
Thomas Harte 2020-01-28 23:25:01 -05:00
parent 4766ec55fe
commit 8b1f183198

View File

@ -111,13 +111,13 @@ struct VideoTester {
}
- (void)runSequencePointsTest {
// Run for [more than] a whole frame making sure that no observeable outputs
// Run for [more than] two frames making sure that no observeable outputs
// change at any time other than a sequence point.
HalfCycles next_event;
bool display_enable = false;
bool vsync = false;
bool hsync = false;
for(size_t c = 0; c < 10 * 1000 * 1000; ++c) {
for(size_t c = 0; c < 8000000 / 20; ++c) {
const bool is_transition_point = next_event == HalfCycles(0);
if(is_transition_point) {