a lot of clock_gettime syscalls

Roman Strashkin roman.strashkin at gmail.com
Wed Nov 6 15:38:55 CET 2013


Could you help me understand why i have a lot of clock_gettime syscalls.

I use libev on Solaris and my App has:

1. several (4-6) worker-thread (they communicate to main thread via
ev_async_send(); one per worker-thread)
2. one read watcher
3. one write watcher
4. one check_watcher

I see that system spends ~10 % of app-work-time.

Is it possible to optimize that ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20131106/da4a0870/attachment.html>

More information about the libev mailing list