[ python-Bugs-884020 ] opcode prediction distorts dynamic execution profile stats

SourceForge.net noreply at sourceforge.net
Sun Feb 8 15:06:48 EST 2004


Bugs item #884020, was opened at 2004-01-25 01:34
Message generated for change (Settings changed) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=884020&group_id=5470

Category: Python Interpreter Core
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Andrew I MacIntyre (aimacintyre)
Assigned to: Raymond Hettinger (rhettinger)
Summary: opcode prediction distorts dynamic execution profile stats

Initial Comment:
By defining DYNAMIC_EXECUTION_PROFILE (and DXPAIRS if
you want opcode pair counts), opcode frequencies can be
evaluated for various program runs.

However successful opcode predictions bypass the
counter updates, which happen at the top of the loop.

So the result can be significantly under-represented
opcodes in the total statistics.

----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2004-02-08 15:06

Message:
Logged In: YES 
user_id=80475

Applied patch 884022.

----------------------------------------------------------------------

Comment By: Andrew I MacIntyre (aimacintyre)
Date: 2004-01-25 01:47

Message:
Logged In: YES 
user_id=250749

See patch #884022 for a possible fix/work around.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=884020&group_id=5470



More information about the Python-bugs-list mailing list