English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 09 May 2018, 00:17   #1
Registered User
Join Date: Aug 2013
Location: Germany
Posts: 56
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?

Last edited by selco; 09 May 2018 at 11:26.
selco is offline  
Old 09 May 2018, 13:14   #2
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,215
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.
Toni Wilen is offline  
Old 09 May 2018, 13:28   #3
Registered User
Join Date: Aug 2013
Location: Germany
Posts: 56
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?
selco is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU speed slider in memory cycle-exact mode amilo3438 support.WinUAE 5 12 December 2017 22:05
[Feature Request] Cycle Exact for other Cpu Zilog support.WinUAE 13 05 December 2017 20:08
Cycle-exact CPU speed shows as 0.000000 initially mark_k support.WinUAE 0 16 October 2016 18:27
cycle exact cpu emulation speed, accurate ? turrican3 support.WinUAE 1 23 December 2013 19:20
Problem with cycle-exact and custum CPU emulation speed pintcat support.WinUAE 14 11 May 2010 21:12

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 14:55.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.22680 seconds with 15 queries