<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.xhprof.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'function.xhprof-sample-enable.php',
    1 => 'xhprof_sample_enable',
    2 => 'Запуск сэмплирующего режима профилирования XHProf',
  ),
  'up' => 
  array (
    0 => 'ref.xhprof.php',
    1 => 'Функции Xhprof',
  ),
  'prev' => 
  array (
    0 => 'function.xhprof-sample-disable.php',
    1 => 'xhprof_sample_disable',
  ),
  'next' => 
  array (
    0 => 'book.yac.php',
    1 => 'Yac',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/xhprof/functions/xhprof-sample-enable.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.xhprof-sample-enable" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">xhprof_sample_enable</h1>
  <p class="verinfo">(PECL xhprof &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">xhprof_sample_enable</span> &mdash; <span class="dc-title">Запуск сэмплирующего режима профилирования XHProf</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.xhprof-sample-enable-description">
  <h3 class="title">Описание</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>xhprof_sample_enable</strong></span>(): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Запуск сэмплирующего режима профилирования, который является
   облегчённой версией <span class="function"><a href="function.xhprof-enable.php" class="function">xhprof_enable()</a></span>. Интервал
   семплирования составляет 0.1 секунды и при каждой итерации
   записывается стек вызовов. Данный режим предназначен для
   снижения накладных расходов при мониторинге производительности.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.xhprof-sample-enable-parameters">
  <h3 class="title">Список параметров</h3>
  
<p class="para">
 Сигнатура функции не содержит параметров.
</p>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.xhprof-sample-enable-returnvalues">
  <h3 class="title">Возвращаемые значения</h3>
  <p class="para">
   <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.xhprof-sample-enable-seealso">
  <h3 class="title">Смотрите также</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.xhprof-sample-disable.php" class="function" rel="rdfs-seeAlso">xhprof_sample_disable()</a> - Остановить сэмплирующие профилирование xhprof</span></li>
   <li><span class="function"><a href="function.xhprof-enable.php" class="function" rel="rdfs-seeAlso">xhprof_enable()</a> - Запуск профилирования xhprof</span></li>
   <li><span class="function"><a href="function.memory-get-usage.php" class="function" rel="rdfs-seeAlso">memory_get_usage()</a> - Возвращает количество памяти, которую потребляет PHP-скрипт или которую система выделила PHP-процессу</span></li>
   <li><span class="function"><a href="function.getrusage.php" class="function" rel="rdfs-seeAlso">getrusage()</a> - Получает информацию об использовании текущего ресурса</span></li>
  </ul>
 </div>

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