Code Comments
Programming Forum and web based access to our favorite programming groups.dbs Sat Sep 25 11:15:12 2004 EDT Added files: /phpdoc/en/reference/apd/functions apd-set-pprof-trace.xml Modified files: /phpdoc/en/reference/apd reference.xml Log: Add coverage of pprof (apd_set_pprof_trace) http://cvs.php.net/diff.php/phpdoc/....3&ty =u Index: phpdoc/en/reference/apd/reference.xml diff -u phpdoc/en/reference/apd/reference.xml:1.2 phpdoc/en/reference/apd/re ference.xml:1.3 --- phpdoc/en/reference/apd/reference.xml:1.2 Thu Aug 12 21:00:44 2004 +++ phpdoc/en/reference/apd/reference.xml Sat Sep 25 11:15:11 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <reference id="ref.apd"> <title>Advanced PHP debugger</title> <titleabbrev>APD</titleabbrev> @@ -34,7 +34,7 @@ <para> <programlisting role="php"> <![CDATA[ -apd_set_session_trace(9); +apd_set_pprof_trace(); ]]> </programlisting> </para> @@ -62,8 +62,8 @@ Process Pid (31994) Trace Begun at Fri Aug 10 16:37:45 2001 --------------------------------------------------------------------------- -( 0.000000): apd_set_session_trace called at somewhere -( 0.001482): apd_set_session_trace() returned. Elapsed (997475865.364909) +( 0.000000): apd_set_pprof_trace called at somewhere +( 0.001482): apd_set_pprof_trace() returned. Elapsed (997475865.364909) ( 0.001563): getcwd() /opt/apache/htdocs/a.php:4 ( 0.001628): getcwd() returned. Elapsed (0.000065) ( 0.001819): require() /opt/apache/htdocs/a.php:6 http://cvs.php.net/co.php/phpdoc/en.../> l?r=1.1&p=1 Index: phpdoc/en/reference/apd/functions/apd-set-pprof-trace.xml +++ phpdoc/en/reference/apd/functions/apd-set-pprof-trace.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.apd-set-pprof-trace"> <refnamediv> <refname>apd_set_pprof_trace</refname> <refpurpose>Starts the session debugging</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>void</type><methodname>apd_set_pprof_trace</methodname> <methodparam choice="opt"><type>string</type><parameter>dump_directory</para meter></methodparam> </methodsynopsis> <para> Starts debugging to {dump_directory}/apd_dump_{process_id}, if dump_directory is not set, then the apd.dumpdir setting from the &php.ini; file is used. </para> <para> <example> <title><function>apd_set_pprof_trace</function> example</title> <programlisting role="php"> <![CDATA[ <?php apd_set_pprof_trace(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.