• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • apd_set_pprof_trace()

    (PECL apd >= 0.2)

    Starts the session debugging

    说明

    apd_set_pprof_trace([string $dump_directory= ini_get("apd.dumpdir")[,string $fragment= "pprof"]]): string

    Starts debugging topprof_{process_id}in the dump directory.

    参数

    $dump_directory

    The directory in which the profile dump file is written. If not set, the apd.dumpdir setting from thephp.inifile is used.

    $fragment

    返回值

    Returns path of the destination file.

    范例

    Example #1 apd_set_pprof_trace() example

    <?php
    apd_set_pprof_trace();
    ?>
    

    参见