apd_set_pprof_trace

(PECL apd >= 0.2)
Starts the session debugging
string apd_set_pprof_trace ([ string $dump_directory = ini_get("apd.dumpdir") [, string $fragment = "pprof" ]] )

Starts debugging to pprof_{process_id} in the dump directory.

Parameters:
dump_directory

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

fragment

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

Returns:

Returns path of the destination file.

Examples:
apd_set_pprof_trace() example
<?php
apd_set_pprof_trace();
?>

See also:

apd_set_session_trace() -

doc_php
2016-02-24 15:53:46
Comments
Leave a Comment

Please login to continue.