English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.WinUAE (http://eab.abime.net/forumdisplay.php?f=5)
-   -   CPU-Cycle display (http://eab.abime.net/showthread.php?t=92192)

selco 08 May 2018 23:17

CPU-Cycle display
Is there a way to display the cpu-cylces or execution time for each instruction in winuae-debugger (in cycle-exact mode)?
Like a Stop-Watch? (Set it to zero and see it growing with each asm instruction? Or maybe print the needed cycles next to the diassembled instruction?)

That would be a very nice help for hand-optimizing an own asm-routine..
Or is there already a way to get this information?

Toni Wilen 09 May 2018 12:14

I am not sure if it is that useful because DMA usage will heavily affect CPU timing (adds wait states) and it is practically impossible to duplicate exact same timing in following debugging session.

But it should be easy enough to add: output total cycles and difference since last break when using 't' command.

selco 09 May 2018 12:28

I just found http://www.easy68k.com/
a nice Assembler/Simulator.

There is a Cycle field that increases with every instruction and can be reset to 0 at any time.

I think it would be helpful to see how bad I selected my assembly instructions without searching the 68k documentation for each instruction.

For higher CPUs it could also be interesting to see when memory access stalls CPU - if that would bepossible?

All times are GMT +2. The time now is 02:59.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.

Page generated in 0.04090 seconds with 11 queries