add time instrumentation to poll()