<?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 => 'ja',
  ),
  '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' => 'ja',
    '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 に割り当てられたメモリの量を返す</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); ?>