If the CPU is too slow to render the console in a decent speed and we have
to skip frames, then we should print warnings if debug mode is on.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
* fps-timeouts for 1s is really faster than calling
* ev_timer_enable/disable() all the time. */
+ if (num > 1)
+ log_debug("CPU is too slow; skipping %llu frames", num - 1);
+
if (term->redraw-- != term->fps) {
if (!term->redraw) {
ev_timer_disable(term->redraw_timer);