increment statCounter.select_time in comm_select(), as we do for
comm_poll(). This requires an otherwise unnecssary call to
getCurrentTime().
/*
- * $Id: comm_select.cc,v 1.65 2003/01/23 00:37:19 robertc Exp $
+ * $Id: comm_select.cc,v 1.66 2003/01/29 03:45:20 hno Exp $
*
* DEBUG: section 5 Socket Functions
*
double timeout = current_dtime + (msec / 1000.0);
fde *F;
do {
+ double start;
getCurrentTime();
+ start = current_dtime;
#if DELAY_POOLS
FD_ZERO(&slowfds);
#endif
}
}
#endif
+ getCurrentTime();
+ statCounter.select_time += (current_dtime - start);
return COMM_OK;
}
while (timeout > current_dtime);