mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-11 04:28:58 +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 {
|
- (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.
|
// change at any time other than a sequence point.
|
||||||
HalfCycles next_event;
|
HalfCycles next_event;
|
||||||
bool display_enable = false;
|
bool display_enable = false;
|
||||||
bool vsync = false;
|
bool vsync = false;
|
||||||
bool hsync = 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);
|
const bool is_transition_point = next_event == HalfCycles(0);
|
||||||
|
|
||||||
if(is_transition_point) {
|
if(is_transition_point) {
|
||||||
|
Loading…
Reference in New Issue
Block a user