ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.97 by root, Sat Dec 22 05:48:02 2007 UTC vs.
Revision 1.98 by root, Sat Dec 22 06:10:25 2007 UTC

603Likewise, by setting a higher I<timeout collect interval> you allow libev 603Likewise, by setting a higher I<timeout collect interval> you allow libev
604to spend more time collecting timeouts, at the expense of increased 604to spend more time collecting timeouts, at the expense of increased
605latency (the watcher callback will be called later). C<ev_io> watchers 605latency (the watcher callback will be called later). C<ev_io> watchers
606will not be affected. 606will not be affected.
607 607
608Many programs can usually benefit by setting the io collect interval to 608Many (busy) programs can usually benefit by setting the io collect
609a value near C<0.1> or so, which is often enough for interactive servers 609interval to a value near C<0.1> or so, which is often enough for
610(of course not for games), likewise for timeouts. It usually doesn't make 610interactive servers (of course not for games), likewise for timeouts. It
611much sense to set it to a lower value than C<0.01>, as this approsaches 611usually doesn't make much sense to set it to a lower value than C<0.01>,
612the timing granularity of most systems. 612as this approsaches the timing granularity of most systems.
613 613
614=back 614=back
615 615
616 616
617=head1 ANATOMY OF A WATCHER 617=head1 ANATOMY OF A WATCHER

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines