mirror of https://github.com/F-Stack/f-stack.git
7e048838a7
Since f-stack run with polling mode, nginx will call gettimeofday every loop, and cost a lot. With this commit, f-stack will update current timespec periodically in ff_hardclock_job. And ff_gettimeofday will get this value. In nginx, hijack gettimeofday to call ff_gettimeofday. |
||
---|---|---|
.. | ||
micro_thread | ||
nginx-1.11.10 | ||
redis-3.2.8 |