MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / sync_timeout_check

Function sync_timeout_check

src/custom.cpp:5528–5536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5526#define LLV_DEBUG 0
5527
5528static bool sync_timeout_check(frame_time_t max)
5529{
5530#if LLV_DEBUG
5531 return true;
5532#else
5533 frame_time_t rpt = read_processor_time();
5534 return rpt - max <= 0;
5535#endif
5536}
5537
5538extern int busywait;
5539static void scanlinesleep(int currline, int nextline)

Callers 5

linesync_beam_multi_dualFunction · 0.85
linesync_beam_vrrFunction · 0.85

Calls 1

read_processor_timeFunction · 0.85

Tested by

no test coverage detected