Welcome! Log In Create A New Profile

Advanced

Re: why delta only include the execution time of ngx_process_events not ngx_event_process_posted

October 29, 2017 03:22AM
I think most of time delta is larger than zero, and i guess that the
intention of the if statement for checking delta is non-zero is for
ignoring some extreme
case that the ngx_process_events handler returns so quickly that the
millisecond precision is not enough to display the calling time(less than
1ms maybe).
In this case, calling the ngx_event_expire_timers is unnecessary.
Also , even in an extreme case that delta is zero for current cycle and
events are posted to queue, calling for the ngx_event_expire_timers will be
executed next cycle, presumably.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

why delta only include the execution time of ngx_process_events not ngx_event_process_posted

yang chen October 29, 2017 03:00AM

Re: why delta only include the execution time of ngx_process_events not ngx_event_process_posted

tokers October 29, 2017 03:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready