Add set_output() before starting timing loop