Fix stats calculation error
This commit is contained in:
parent
05d9d31499
commit
1464230714
@ -338,7 +338,10 @@ void poll_waitevents(int epoll_fd,
|
||||
if (nfds > 0)
|
||||
{
|
||||
poll_stats->evq_length = nfds;
|
||||
poll_stats->evq_max = nfds;
|
||||
if (nfds > poll_stats->evq_max)
|
||||
{
|
||||
poll_stats->evq_max = nfds;
|
||||
}
|
||||
|
||||
timeout_bias = 1;
|
||||
if (poll_spins <= number_poll_spins + 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user