… | |
… | |
291 | EV::periodic will try to run the callback at the next possible time where |
291 | EV::periodic will try to run the callback at the next possible time where |
292 | C<$time = $at (mod $interval)>, regardless of any time jumps. |
292 | C<$time = $at (mod $interval)>, regardless of any time jumps. |
293 | |
293 | |
294 | This periodic timer is based on "wallclock time", that is, if the clock |
294 | This periodic timer is based on "wallclock time", that is, if the clock |
295 | changes (C<ntp>, C<date -s> etc.), then the timer will nevertheless run at |
295 | changes (C<ntp>, C<date -s> etc.), then the timer will nevertheless run at |
296 | the specified time. |
296 | the specified time. This means it will never drift (it might jitter, but |
|
|
297 | it will not drift). |
297 | |
298 | |
298 | The C<periodic_ns> variant doesn't start (activate) the newly created watcher. |
299 | The C<periodic_ns> variant doesn't start (activate) the newly created watcher. |
299 | |
300 | |
300 | =item $w->set ($at, $interval) |
301 | =item $w->set ($at, $interval) |
301 | |
302 | |