|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 16:08:54 +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=rf7+YtaI6wxFMOYiaZYA4q4OuGyoWluVDFRgFxHYaqY=; b=nXjKhzZAljAfpxXpv5PbjDStfx25LUkg9LGZvTQRe2yZPoZHBWr5qb5c2KGrOhF6Vs BVQq8cQI+LYJsUOhfFdOPC0MI1m5VF6XeL4bUyvo1UHucsCHhOZKC7U5Ox9geMdkHTUc BNIrp3xlzWxzVnw8VZ9tRxNry4VN7Qn0qGfPhRcNxz5kl6Kg/aPSc+AekBwj3urBuqRX tiSTVebW/wAaeUPh5SbE44kvlOj+kR/NNdk9ruzH5J8lD7+hPrIQWdtthnj16sNXhRBN +l6IsKZ3IYgBn8G1zFgkKc6Ue17YCpCUlbx4xerOIupO+AW+r6IcnIoHKbK7RNLrvC73 zD8w==
On 31 January 2013 15:55, Eero Tamminen <oak@xxxxxxxxxxxxxx>
For DSP I could store (in addition of sum of instructions & cycles)
also min and max cycle values for individual addresses. Disassembly
could them contain those, or just indicator that they differed.
Would that be enough?
That would be great yes. Min/max provide more detail, but take more space per line... (I suppose a full export would be best served with min/max since it can be post-processed into anything beyond that point).
One more note: having an identifiable prefix/delimiter before each profiler numeric column e.g. "@:" (or whatever works!) makes it easier to extract those columns into Excel or other tools. A minor thing - I may just apply my own patch for that since it can again be post-processed.
For CPU profiling, storing extra information per memory address would
take too much memory because there can be 14MB of addresses (so just
the 32-bit instruction count takes at max 4*14MB of RAM), whereas
DSP memory size is much smaller...
Yes I think it's less useful anyway on the CPU since it's likely happening all over the place. Cache misses are much more interesting on the CPU.