<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.hrtime-stopwatch.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'es',
  ),
  'this' => 
  array (
    0 => 'hrtime-stopwatch.getlastelapsedtime.php',
    1 => 'HRTime\\StopWatch::getLastElapsedTime',
    2 => 'Obtiene el tiempo transcurrido para el &uacute;ltimo intervalo',
  ),
  'up' => 
  array (
    0 => 'class.hrtime-stopwatch.php',
    1 => 'HRTime\\StopWatch',
  ),
  'prev' => 
  array (
    0 => 'hrtime-stopwatch.getlastelapsedticks.php',
    1 => 'HRTime\\StopWatch::getLastElapsedTicks',
  ),
  'next' => 
  array (
    0 => 'hrtime-stopwatch.isrunning.php',
    1 => 'HRTime\\StopWatch::isRunning',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'es',
    'path' => 'reference/hrtime/hrtime-stopwatch/getlastelapsedtime.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="hrtime-stopwatch.getlastelapsedtime" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">HRTime\StopWatch::getLastElapsedTime</h1>
  <p class="verinfo">(PECL hrtime &gt;= 0.4.3)</p><p class="refpurpose"><span class="refname">HRTime\StopWatch::getLastElapsedTime</span> &mdash; <span class="dc-title">Obtiene el tiempo transcurrido para el último intervalo</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-hrtime-stopwatch.getlastelapsedtime-description">
  <h3 class="title">Descripción</h3>
  <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>HRTime\StopWatch::getLastElapsedTime</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$unit</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.float.php" class="type float">float</a></span></div>

  <p class="simpara">
   Obtiene el tiempo transcurrido para el último intervalo.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-hrtime-stopwatch.getlastelapsedtime-parameters">
  <h3 class="title">Parámetros</h3>
   <dl>
    
     <dt><code class="parameter">unit</code></dt>
      <dd>
       <span class="simpara">
        Unidad de tiempo representada por una constante
        HRTime\Unit. Por omisión vale HRTime\Unit::SECOND.
       </span>
      </dd>
    
   </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-hrtime-stopwatch.getlastelapsedtime-returnvalues">
  <h3 class="title">Valores devueltos</h3>
  <p class="simpara">
   Devuelve un <span class="type"><a href="language.types.float.php" class="type float">float</a></span> que indica el tiempo transcurrido.
  </p>
 </div>


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