<?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 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'hrtime-stopwatch.getlastelapsedtime.php',
    1 => 'HRTime\\StopWatch::getLastElapsedTime',
    2 => 'Obt&eacute;m o tempo decorrido para o &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' => 'pt_BR',
    '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">Obtém o tempo decorrido para o último intervalo</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-hrtime-stopwatch.getlastelapsedtime-description">
  <h3 class="title">Descrição</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">

   Obtém o tempo decorrido para o último intervalo previamente fechado.
  </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">
        Unidade de tempo representada por uma constante HRTime\Unit. O padrão é
        HRTime\Unit::SECOND.
       </span>
      </dd>
    
   </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-hrtime-stopwatch.getlastelapsedtime-returnvalues">
  <h3 class="title">Valor Retornado</h3>
  <p class="simpara">
   Retorna um <span class="type"><a href="language.types.float.php" class="type float">float</a></span> indicando o tempo decorrido.
  </p>
 </div>



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