|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 21:03:50 +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=LrYJDQCdif+skKL3BVi7pd0Hw/NNNCJedtDLhj3JQMc=; b=vrOIU6Z5zDnWg1khKP9J+ikVxMLgdUQoiXaSVeOURxmbEuCovdjSS9rAbTFOdA1nEc p/ovZhe8QqUPwpQZQ+vOUakm7R9eAfteMxPy9IS1Xy53+z4L4I0d0kN+hROVipwBtUV7 Fwr58g1acX3G6xqqxJqstqyaVcV3eU+kdqOVZX76y89wV/dBAghfiZOghSc3dWIBXhFd ltJva37Z4nuEbnQllsbILs6WW5KS/E3vd074mSiab4k9kgYA6c30P8XW3iExHoW1ou64 otu+elVMSV3rsoRYh0+L6IAtW0dhcBjwloX4Fi4OCZtMg1BqW6erckR/8J6uF/Trr93H Ma+A==
When you trace your program (ie, the program is running with the
registers in the good state), the cycles for this instruction will
display [04 cycles] if X memory w< $200 or [05 cycles] if X
memory is > $200
So, while executing your code, the value was always [04 cycles]
(as you said X is always in the internal memory) and Eero's
profiler is good.
Ok I just misunderstood the meaning of the (05 cyc) estimate - it is a 'worst' case estimate *including* any potential penalties, and not the time for the instruction and EA on its own? (i.e. penalties must be added).
In that case the values do make sense and it must be correct yes.