Re: [hatari-devel] Profiler question |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
I've got a problem to get the profiler showing some reasonable data. I've compiled the app by vasm, exported symbols, followed Hatari manual... when I want to finally see something:
[...]- 0x282d8: dp_calc_sam (return = 0x28268)- 0x282d8: dp_calc_sam (return = 0x28264)- 0x282d8: dp_calc_sam (return = 0x28260)- 0x282d8: dp_calc_sam (return = 0x2825c)- 0x282a8: dp_swap_buffers (return = 0x2820a)Allocated CPU profile address buffer (13 KB).Normal RAM (0-0xE00000):- active address range:0x01fa22-0x03933c- active instruction addresses:2873 (100.00% of all)- executed instructions:17700459 (100.00% of all)- instruction cache misses:270156 (100.00% of all)- used cycles:170191864 (100.00% of all)= 10.60882sROM TOS (0xE00000-0xE80000):- no activityCartridge ROM (0xFA0000-0xFC0000):- no activity= 10.60882sCache misses per instruction, number of occurrences:- 0: 17451036- 1: 235377- 2: 7359- 3: 6687CPU=$3262a, VBL=5633, FrameCycles=74, HBL=0, LineCycles=74, DSP=$537> profile counts 8addr: count:0x0387d2 3.59% 636015 DC.W $b0900x0387d4 3.59% 636015 DC.W $67fc0x037e58 2.60% 459881 DC.W $08280x037e5e 2.60% 459881 DC.W $660a0x037e60 2.60% 459792 DC.W $33fc0x037e68 2.60% 459792 DC.W $60ee0x033616 1.45% 256320 DC.W $32250x033618 1.45% 256320 DC.W $67088 CPU addresses listed.1. I can't believe there can be 100% instruction cache misses, that is just nonsense
2. most used stuff doesn't make any sense, tooHatari console doesn't report any errors, I see the symbols are imported, everything all right. Am I missing something obvious here?
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |