[xdebug-general] Re: No execution time in cachegrind.out.* file

From: Derick Rethans <derick[@]xdebug.org>
Date: Wed, 23 Aug 2006 09:25:44 +0200 (CEST)

On Wed, 23 Aug 2006, Jan Piotrowski wrote:

> Good evening from Germany. Today I discovered Xdebug and WinCacheGrind
> and tried to run the profiler on some of my scripts. Debugging and
> tracing works fine, I also can use functions like xdebug_time_index().
> But there's a problem with profiling:
>
> Xdebug generates the profile cachegrind.out.* files, but there is no
> information about the run- and execution time of the scripts and
> functions in it. WinCacheGrind doesn't display any times, and in the
> file I only see 0 where I think should be the time values:
>
> fl=php:internal
> fn=php::time
> 5 0

The second number is the memory usage, the first one the time.

[...]
 
> Do you have an idea what I am doing wrong?
>
> I tried all the other .dll files I could find on the Xdebug site, but
> only Xdebug v2.0.0rc1-dev, binary snapshot (php_xdebug.dll - php-5.0.5
> (5_0)) seems to work - no wonder, it's the one that fits my php
> version.

You should consider upgrading though, as PHP 5.0 is not really supported
anymore. However, I don't see what is wrong. Perhaps you can send me the
whole cachegrind file (gzipped) perhaps?

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Wed Aug 23 2006 - 09:26:08 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST