James Mastros wrote:
>
> 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.
I will take a look at this. I was going to do something like this
soon to begin analyzing where the big consumers of time are. Should
be quite useful.
Will check into this after I fix a bug. I've indentified a problem
with the monitor code and working on a fix. Think it's what's
holding back booting of at least a couple OSes, perhaps FreeBSD
and Zealos.
-Kevin
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton [EMAIL PROTECTED]
MandrakeSoft, Inc. Plex86 developer
http://www.linux-mandrake.com/ http://www.plex86.org/