<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.ev.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'ev.nowupdate.php',
    1 => 'Ev::nowUpdate',
    2 => 'Establishes the current time by querying the kernel, updating the time
    returned by Ev::now in the progress',
  ),
  'up' => 
  array (
    0 => 'class.ev.php',
    1 => 'Ev',
  ),
  'prev' => 
  array (
    0 => 'ev.now.php',
    1 => 'Ev::now',
  ),
  'next' => 
  array (
    0 => 'ev.recommendedbackends.php',
    1 => 'Ev::recommendedBackends',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ev/ev/nowupdate.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ev.nowupdate" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Ev::nowUpdate</h1>
  <p class="verinfo">(PECL ev &gt;= 0.2.0)</p><p class="refpurpose"><span class="refname">Ev::nowUpdate</span> &mdash; <span class="dc-title">Establishes the current time by querying the kernel, updating the time
    returned by Ev::now in the progress</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-ev.nowupdate-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">final</span>
   <span class="modifier">public</span>
   <span class="modifier">static</span>
   <span class="methodname"><strong>Ev::nowUpdate</strong></span>(): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Establishes the current time by querying the kernel, updating the time
   returned by
   <span class="methodname"><a href="ev.now.php" class="methodname">Ev::now()</a></span>
   in the progress. This is a costly operation and is usually done
   automatically within
   <span class="methodname"><a href="ev.run.php" class="methodname">Ev::run()</a></span>.
  </p>
  <p class="para">
   This method is rarely useful, but when some event callback runs for a very
   long time without entering the event loop, updating
   <em>libev</em>
   &#039;s consideration of the current time is a good idea.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-ev.nowupdate-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-ev.nowupdate-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-ev.nowupdate-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li>
    <span class="methodname"><a href="ev.now.php" class="methodname" rel="rdfs-seeAlso">Ev::now()</a> - Returns the time when the last iteration of the default event
  loop has started</span>
   </li>
  </ul>
 </div>

</div><?php manual_footer($setup); ?>