asynchronics / asynchronix

High-performance asynchronous computation framework for system simulation
Apache License 2.0
170 stars 9 forks source link

Feature/periodic events #6

Closed sbarral closed 1 year ago

sbarral commented 1 year ago

Goal

This PR makes it possible to schedule periodic events from a Simulation or using a model's Scheduler. This closes #4.

Impact

The expected overhead for non-periodic methods is practically negligible.

The main downside is additional code complexity and explosion in the number of exposed schedule_*_event_* methods for all combinations of keyed/non-keyed and periodic/non-periodic event types.