|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 22:14:34 +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=acKfPBIaEfAJEocBhCa88qlj8ei2EB7/hrpTOwZiilI=; b=Z0AM7baZNggML/LKVEDDLUiRYtVW+n8nEcXXhQOlL6n7x59h5DiKdT3I2MASGqs8ts YgEVhbvJvdCIrc7ys0b/OsjacT9PA7VasKz1f5KfZWM3yJzl3pkOYkvAxYsJ1xuh1nqO TFVsMey1WYFqh5dBKe2froN1G8fOrvvvIBdISzjHriy27D3WweiJt8I6rMDYTBlkCgtb TpheB95y4eFmwFVswVBUK2OsepprqUQV+l8rNFaj4SNnVbsQObRlogW9N2Viv6HJ/QDb cJ2QnoOYgC70GHBCy1dtJe1h+jV3zduHD5/HT0XmOa0jiu33b+re1Up6N9hL8S+jVZxt j6Dg==
I haven't commited the min/max cycles code yet as it makes the output
more verbose and I'm wondering how useful it is. I guess for 99% of DSP
code, there's no difference between min and max cycles, they always are
executed the same way...?
I think the main value is for the programmer to notice that a particular block of code has an unexpected (potentially large) penalty due to the location of data, more than anything else - and a penalty that perhaps doesn't show all the time. i.e. perhaps something that's difficult to find any other way except reading all the code and layout.
However this is from a developer/optimisation perspective only :-) i.e. this is how I would use it. I don't know if it's of use to anyone else....