EvLoop::nowUpdate

(PECL ev >= 0.2.0)

EvLoop::nowUpdateEstablishes the current time by querying the kernel, updating the time returned by EvLoop::now in the progress

说明

public EvLoop::nowUpdate ( void ) : void

Establishes the current time by querying the kernel, updating the time returned by EvLoop::now() in the progress. This is a costly operation and is usually done automatically within EvLoop::run() .

参数

此函数没有参数。

返回值

没有返回值。

参见

  • EvLoop::now() - Returns the current "event loop time"
  • Ev::nowUpdate() - Establishes the current time by querying the kernel, updating the time returned by Ev::now in the progress
相关文章
php directoryiterator get last access time of the current directoryiterator itemphp directoryiterator get inode change time of the current directoryiterator itemphp directoryiterator get last modification time of current directoryiterator itemphp ev establishes the current time by querying the kernel updating the time returned by ev now in the progressphp ev returns the current time in fractional seconds since the epochphp eventbase returns the current event base timephp evloop creates evchild object associated with the current event loopphp evloop creates an instance of evembed watcher associated with the current evloop objectphp evloop creates evfork watcher object associated with the current event loop instancephp evloop creates evidle watcher object associated with the current event loop instancephp evloop create evio watcher object associated with the current event loop instancephp evloop returns the current event loop time php evloop establishes the current time by querying the kernel updating the time returned by evloop now in the progressphp evloop creates evperiodic watcher object associated with the current event loop instancephp evloop creates evprepare watcher object associated with the current event loop instancephp evloop creates evstat watcher object associated with the current event loop instancephp evloop creates evtimer watcher object associated with the current event loop instancephp intlcalendar the maximum value for a field considering the objectʼs current timephp intlcalendar the minimum value for a field considering the objectʼs current timephp intlcalendar get number representing the current time
关注编程学问公众号