-
Notifications
You must be signed in to change notification settings - Fork 24
Description
We want AkitaRTM to support step-through mode.
User Interface
The image above is the current version of AkitaRTM's time control feature. We want to add a dropdown button to the right-most part to expand it to a small panel, as shown in the interface below. The user can select step length by inputting the number and unit (ns, us, ms, s). It defaults to 1ns.
AkitaRTM API
One API needs to be added to AkitaRTM's backend. Please refer to this file for the API implementation. https://github.com/sarchlab/akita/blob/main/monitoring/monitor.go
The frontend needs to issue HTTP request to the backend when the step button is clicked. The related code should be able to find here https://github.com/sarchlab/akita/blob/main/monitoring/web/src/engine_control.ts.
Akita Engine API support
We need to add an API to the Akita's Engine (https://github.com/sarchlab/akita/blob/main/sim/engine.go) interface. We can add a SetRunUntilTime. The engine's Run method should return if this time is achieved. We need to support this feature in the serial engine and parallel engine implementation.