… | |
… | |
3229 | function is hiding in (often F<-lrt>). See also C<EV_USE_CLOCK_SYSCALL>. |
3229 | function is hiding in (often F<-lrt>). See also C<EV_USE_CLOCK_SYSCALL>. |
3230 | |
3230 | |
3231 | =item EV_USE_REALTIME |
3231 | =item EV_USE_REALTIME |
3232 | |
3232 | |
3233 | If defined to be C<1>, libev will try to detect the availability of the |
3233 | If defined to be C<1>, libev will try to detect the availability of the |
3234 | real-time clock option at compile time (and assume its availability at |
3234 | real-time clock option at compile time (and assume its availability |
3235 | runtime if successful). Otherwise no use of the real-time clock option will |
3235 | at runtime if successful). Otherwise no use of the real-time clock |
3236 | be attempted. This effectively replaces C<gettimeofday> by C<clock_get |
3236 | option will be attempted. This effectively replaces C<gettimeofday> |
3237 | (CLOCK_REALTIME, ...)> and will not normally affect correctness. See the |
3237 | by C<clock_get (CLOCK_REALTIME, ...)> and will not normally affect |
3238 | note about libraries in the description of C<EV_USE_MONOTONIC>, though. |
3238 | correctness. See the note about libraries in the description of |
|
|
3239 | C<EV_USE_MONOTONIC>, though. Defaults to the opposite value of |
|
|
3240 | C<EV_USE_CLOCK_SYSCALL>. |
3239 | |
3241 | |
3240 | =item EV_USE_CLOCK_SYSCALL |
3242 | =item EV_USE_CLOCK_SYSCALL |
3241 | |
3243 | |
3242 | If defined to be C<1>, libev will try to use a direct syscall instead |
3244 | If defined to be C<1>, libev will try to use a direct syscall instead |
3243 | of calling the system-provided C<clock_gettime> function. This option |
3245 | of calling the system-provided C<clock_gettime> function. This option |