array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'ev.now.php', 1 => 'Ev::now', 2 => 'Returns the time when the last iteration of the default event loop has started', ), 'up' => array ( 0 => 'class.ev.php', 1 => 'Ev', ), 'prev' => array ( 0 => 'ev.iteration.php', 1 => 'Ev::iteration', ), 'next' => array ( 0 => 'ev.nowupdate.php', 1 => 'Ev::nowUpdate', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/ev/now.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Ev::now

(PECL ev >= 0.2.0)

Ev::nowReturns the time when the last iteration of the default event loop has started

Descrizione

final public static Ev::now(): float

Returns the time when the last iteration of the default event loop has started. This is the time that timers( EvTimer and EvPeriodic) are based on, and referring to it is usually faster then calling Ev::time().

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns number of seconds(fractional) representing the time when the last iteration of the default event loop has started.

Vedere anche: