#279 open
zimbatm

[TODO] Use monotonic clock if possible in state.c

Reported by zimbatm | January 26th, 2008 @ 06:13 AM | in 1.1

In state.c, "state_collect" and "state_major_collect" methods use "gettimeofday" to calculate an interval. This could possibly cause timing problems if the system date is changed between the start and stop times.

I find that "get_clock" in libev's "ev.c" is a good implementation but it is not exported in "ev.h". It would be nice if libev would also export it's cross-platform timers independently.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Tags