Hey !

I'm working on a Gameboy emulator. It's all coded in MASM and already runs some comercial games.

How can I profile my application ? I've made some macros that use RDTSC to measure cycles spent on parts of the code. But what I really need is to know the percentage of time that is being spent on each routine.
Is there any easy way to do that ? Are there any tools to help profiling ?

I've searched the board but I did no find exactly what I need.

BTW, how does VCS (and other compilers) profiler work ?

Thanks in advance.
Waka.
Posted on 2004-02-12 01:54:17 by Waka
Somebody will correct me if I am wrong. But I believe Maverick has something like this working.

http://www.asmcommunity.net/board/index.php?topic=7510&highlight=profiler
Posted on 2004-02-12 07:51:19 by gorshing