-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Having the check_stop_condition code hook slows down the emulation a lot (currently uses ~25% of the CPU time basically doing nothing). Since so far all the synchronization happens in timers and status register checks (instead of depending on hardware timing characteristics), we might be able to only keep a timer event scheduling thread (similar to ffsds4's EventSequencer) that asynchronously inject timer interrupt events into the emulator, and insert hooks into status register reads to either return a "not ready" when the emulator cannot or does not want to do a task synchronously, or "ready" after synchronously finishing the task.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels