Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

cvs: phpdoc /en/reference/apd reference.xml /en/reference/apd/functions apd-set-pprof-trace.xml
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
-->

Report this thread to moderator Post Follow-up to this message
Old Post
Dan Scott
09-25-04 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Documentation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:25 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.