[hatari-devel] DSP togging (was: Profiling Hatari code with Valgrind)
Eero Tamminen
oak at helsinkinet.fi
Wed Jan 12 21:12:07 CET 2011
Hi,
On perjantai 07 tammikuu 2011, Eero Tamminen wrote:
> That sounded very peculiar so I checked the code.
>
> Disabling DSP from the UI doesn't do anything unless you save that
> setting and restart Hatari, e.g. rebooting it isn't enough. I.e. your
> observation isn't valid.
I fixed this. Disabling DSP from the UI will also stop its emulation now.
For me the CPU consumption drops from 50% (DSP idling) to 30% when
DSP is disabled. (non-idle DSP causes 60-90% CPU usage.)
Toggling DSP without rebooting the emulation may have strange effects,
so I wonder should we force reboot on DSP emulation change?
- Eero
PS. Laurent, I commited also couple other trivial cleanup for DSP code.
More information about the hatari-devel
mailing list