[Patches] [ python-Patches-510695 ] cycle profiler for VM opcodes

SourceForge.net noreply at sourceforge.net
Sat Sep 20 07:40:57 EDT 2003


Patches item #510695, was opened at 2002-01-30 14:21
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=510695&group_id=5470

Category: Core (C code)
Group: None
Status: Open
>Resolution: Accepted
Priority: 1
Submitted By: Jeremy Hylton (jhylton)
Assigned to: Jeremy Hylton (jhylton)
Summary: cycle profiler for VM opcodes

Initial Comment:
This is just some code I'm noodling around with.  It

counts the number of cycles each Python VM opcode takes

to execute, using the Pentium timestamp counter.



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

>Comment By: Martin v. Löwis (loewis)
Date: 2003-09-20 13:40

Message:
Logged In: YES 
user_id=21627

OTOH, the patch is prepared for temporary usage, by means of

a configure option. Since nobody has been objecting

strongly, I'll accept this patch.

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

Comment By: Armin Rigo (arigo)
Date: 2002-11-12 14:26

Message:
Logged In: YES 
user_id=4771

I think that you should try and convince people that it is a

generally useful information to have, and that the fact that

it is highly non-portable does not hurt.  Right now it looks

more like a change that a core developer would temporarily

want to do to tune the VM.

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

Comment By: Jeremy Hylton (jhylton)
Date: 2002-10-09 17:16

Message:
Logged In: YES 
user_id=31392

sure



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

Comment By: Martin v. Löwis (loewis)
Date: 2002-10-07 23:12

Message:
Logged In: YES 
user_id=21627

Is this still of relevance?

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

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



More information about the Patches mailing list