Discussion:
[PECL-BUG] Bug #11763 [NEW]: Calls to COM objects are not tracked
(too old to reply)
tetikr at spytech dot cz
2007-08-05 16:15:32 UTC
Permalink
From: tetikr at spytech dot cz
Operating system: WinXP
Package version:
PHP version: 5.2.1
Package: Bug System
Bug Type: Bug
Bug description: Calls to COM objects are not tracked

Description:
------------
PHP 5.2.3, APC 3.0.15-dev, APD 1.0.1

Calls to COM methods and properties are not tracked by the profiler.
Further it seems that their execution time is accounted to the next
function being called.


Reproduce code:
---------------
function MyFunc($x) { return ceil($x); }
$o = new COM(....);
MyFunc($o->SomeMethodReturningFloat());

SomeMethodReturningFloat() is not tracked and its time is added to ceil()

Expected result:
----------------
COM->SomeMethodReturningFloat should be in the function list with proper
timing

Actual result:
--------------
SomeMethodReturningFloat() is not tracked and its time is added to ceil()
--
Edit bug report at http://pecl.php.net/bugs/bug.php?id=11763&edit=1
--
w***@php.net
2008-01-01 11:19:49 UTC
Permalink
Edit report at http://pecl.php.net/bugs/bug.php?id=11763&edit=1

ID: 11763
Updated by: ***@php.net
Reported By: tetikr at spytech dot cz
-Status: Open
+Status: Bogus
Id: 11763
Type: Bug
Package: Bug System
Operating System: WinXP
PHP Version: 5.2.1
-Assigned To:
+Assigned To: wiesemann
New Comment:

COM is part of PHP, please use the bug tracker on www.php.net.


Previous Comments:
------------------------------------------------------------------------

[2007-08-05 12:15:32] tetikr at spytech dot cz

Description:
------------
PHP 5.2.3, APC 3.0.15-dev, APD 1.0.1

Calls to COM methods and properties are not tracked by the profiler.
Further it seems that their execution time is accounted to the next
function being called.


Reproduce code:
---------------
function MyFunc($x) { return ceil($x); }
$o = new COM(....);
MyFunc($o->SomeMethodReturningFloat());

SomeMethodReturningFloat() is not tracked and its time is added to
ceil()

Expected result:
----------------
COM->SomeMethodReturningFloat should be in the function list with
proper timing

Actual result:
--------------
SomeMethodReturningFloat() is not tracked and its time is added to
ceil()

------------------------------------------------------------------------
--
Edit this bug report at http://pecl.php.net/bugs/bug.php?id=11763&edit=1
Loading...