session: Add poll debug spew

This commit is contained in:
Daniel Elstner 2015-08-31 03:23:13 +02:00
parent faa5d7d997
commit b5887bd0c3
1 changed files with 4 additions and 0 deletions

View File

@ -458,6 +458,10 @@ static int sr_session_iteration(struct sr_session *session)
}
#endif
stop_time = g_get_monotonic_time();
sr_spew("%s: poll %d ms timeout, %g ms elapsed, %d events",
__func__, timeout_ms, 0.001 * (stop_time - start_time), ret);
triggered = FALSE;
stopped = FALSE;