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

SourceForge.net noreply at sourceforge.net
Sun Jan 25 01:47:36 EST 2004


Bugs item #884020, was opened at 2004-01-25 17:34
Message generated for change (Comment added) made by aimacintyre
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: Open
Resolution: None
Priority: 5
Submitted By: Andrew I MacIntyre (aimacintyre)
Assigned to: Nobody/Anonymous (nobody)
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: Andrew I MacIntyre (aimacintyre)
Date: 2004-01-25 17: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