Hey all. This patch will make plex86 count the frequency at which opcodes
are emulated, so as to show where optimazation could usefuly focus without
going to the ends of the earth to instrument the kernel-side code (it's a
lot harder to do it in kernelspace then userspace). Everything is
conditional on --enable-freqcount as a configure option.
The counts are dumped as 0x1FF longs in the file 'freqcounts' in the current
directory upon teardown of the emulator. Use 'od -Ax -tdL <freqcounts' and
divide the address shown by 4 to see the counts -- I'm having problems
getting a perl script to futz with it the way I want it to, but it'll be
comming soon, I think.
-=- James
--
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU>CS d->-- s-:- a20 C++ UL+++@ P+++>+++++ L++@ E-() N o? K? w@ M-- !V
PS++ PE Y+ PGP(-) t++@ 5+ X+++ R+ tv+ b+++ DI+ D+ G e>++ h! r- y?
------END GEEK CODE BLOCK------