emu-russia / pureikyubu

Nintendo GameCube Emulator (WIP)
Creative Commons Zero v1.0 Universal
164 stars 6 forks source link

Jitc debug #104

Closed ogamespec closed 3 years ago

ogamespec commented 4 years ago

To catch any bugs with the JITC, need some kind of debugging functionality.

It is necessary to show statistics: the number of recompiled code segments, the number of executed code segments, this will allow you to track the dynamics of the recompiler's behavior. You also need to dump the segments and invalidate them.

We must not forget that you need to carry out special processing to invalidate the current executable segment so that the code does not fly into the pipe.

ogamespec commented 3 years ago

The statistics are displayed through Performance Counter in the UI, I did not add special commands, because it is cleared every second.