APD Help

From: Date: Mon, 29 Aug 2005 22:00:22 +0000
Subject: APD Help
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-2835@lists.php.net to get a copy of this message
Hi I am trying to use the APD extension to help me track memory usage in my scripts... I have the following configure options set './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--with-regex=php' '--with-apxs2=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd5.4' I have the APD 0.9.1 extension running ok and I can get function profiling information but the memory usage only exists for the apd_set_pprof_trace() function. I have tried setting apd.statement_trace = 1 and apd.statement_trace = 0 An example trace is Real User System secs/ cumm %Time (excl/cumm) (excl/cumm) (excl/cumm) Calls call s/call Memory Usage Name -------------------------------------------------------------------------------------- 0.4 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 16777216 apd_set_pprof_trace 0.1 0.00 0.01 0.00 0.01 0.00 0.00 18 0.0000 0.0000 0 cxml::setlistindex 0.2 0.00 0.00 0.00 0.00 0.00 0.00 10 0.0000 0.0000 0 cxml::findchildindexbymapindex 0.0 0.00 0.00 0.00 0.00 0.00 0.00 5 0.0000 0.0000 0 cxml::setlistlimits 0.6 0.00 0.01 0.00 0.00 0.00 0.00 98 0.0000 0.0000 0 cxml::getvariablevalue 0.1 0.00 0.00 0.00 0.00 0.00 0.00 18 0.0000 0.0000 0 cxml::setvariablevalue Can someone elighten me as to what I am doing wrong? TIA Marco

« previous php.pecl.dev (#2835) next »