Attached a patch that allows timing individual opcodes, and a script to extract the info. A patched core will produce on exit a file "time.log" in [pwd] containing timing data for all opcodes. The script produces basic stats and pretty-printing.
It is very much a WIP: x86 only (linux only?), turned on "by hand", ...
Logged In: YES
user_id=148712
Originator: YES
File Added: vmstats.tcl