Commit 83622b89 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Added logging which notifies how late every write is.

parent 59059c1c
......@@ -557,6 +557,8 @@ void writeToConnections(multimap<Time, Connection *> & schedule)
multimap<Time, Connection *>::iterator pos = schedule.begin();
if (pos->first < now)
{
logWrite(MAIN_LOOP, "Schedule deadline has passed, skew = %f",
(now - pos->first).toDouble());
Connection * current = pos->second;
Time nextTime = current->writeToConnection(pos->first);
schedule.erase(pos);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment