Welcome! Log In Create A New Profile

Advanced

why delta only include the execution time of ngx_process_events not ngx_event_process_posted

yang chen
October 29, 2017 03:00AM
hello, everyone. I have a problem when I read the nginx source code, why
delta variable only include the execution time of ngx_process_events not
ngx_event_process_posted, ngx_event_process_posted maybe takes more time.


delta = ngx_current_msec;

(void) ngx_process_events(cycle, timer, flags);

delta = ngx_current_msec - delta;

ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
"timer delta: %M", delta);

ngx_event_process_posted(cycle, &ngx_posted_accept_events);
_______________________________________________
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: 146
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready