|Re: [hatari-devel] Hatari profiler updates and CPU cycle questions|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Hatari profiler updates and CPU cycle questions
- From: Douglas Little <doug694@xxxxxxxxxxxxxx>
- Date: Thu, 31 Jan 2013 13:02:08 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=h59fnb+maN1EXnEGnuog6M540UbSM6V2p5u3Z8reXcY=; b=f1cjMVVlgZmkFX6tHVMX08mlt/z+7K6pydN2uNkyzacGbOjn5qjxUMbZwzS1cXf8XJ tGlrMFTvAhZbdJoBwrOti3eAYM/jtLQPFct9s9gAa159A3ErHea8mJ9f0ZNEXVHzoRQg owmQLG2jnpx4ASXlthF6Z8s8Qo5YW4d9Iv9zMureBRPQPUhOL8ZP4ISz1LoFtBstWkmJ Tl3kILXmBdP6YwXkEPWJO1uNZOBYXau65sslOwDk9Jzuj0kMbK+6occDUDcgpX1oQUVz JKhLjMN2IL93N78uxpos+0GPrUPSa9NbTVUTNi+ALCqFkDKoYDEn8LjVafxWKC9x+XaX gWXA==
The good news is - the DSP profiler output looks much better and symbol table conversion and import is working properly. Things do appear to map back to the source.
The only problem I noticed involved a few cases where the expected cycle count (?cyc) did not match (total cycles / count), (evaluated to 4cyc instead of 5cyc).... possibly an issue assigning cycles to the previous instruction in some cases? Anyway for the most part it looks right and is usable for performance analysis - with just that exception...
One 'request' I would have is for more decimal precision on the global %age values, since it represents time on individual instructions of which there are many - as opposed to whole functions - this means every opcode needs much finer granularity for differentiation - 2 digits isn't nearly enough. Most opcodes come out at 0.00%, with the highest being 7.xx% or so for cases with long blocking waits... probably 4 to 6 digits is needed to make this bit useful even on a small DSP program... and t's much more severe on large CPU programs.
I'll look more closely at the CPU/devpac symbols later today if I can.