MCPcopy Create free account
hub / github.com/KLayout/klayout / wakeup_checked

Method wakeup_checked

src/laybasic/laybasic/layRedrawThread.cc:405–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405void
406RedrawThread::wakeup_checked ()
407{
408 tl::Clock c = tl::Clock::current ();
409 if ((c - m_clock).seconds () > update_interval * 0.8 * 0.001) {
410 m_clock = c;
411 wakeup ();
412 }
413}
414
415void
416RedrawThread::wakeup ()

Callers 1

test_snapshotMethod · 0.80

Calls 2

secondsMethod · 0.80
currentFunction · 0.70

Tested by 1

test_snapshotMethod · 0.64