mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Reduce test duration much closer to two frames.
This commit is contained in:
parent
4766ec55fe
commit
8b1f183198
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user