Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to deterministic clock #603

Open
penberg opened this issue Jan 4, 2025 · 1 comment
Open

Switch to deterministic clock #603

penberg opened this issue Jan 4, 2025 · 1 comment
Labels
bug Something isn't working simulator
Milestone

Comments

@penberg
Copy link
Collaborator

penberg commented Jan 4, 2025

Fix IO::get_current_time() to return an integer or a timestamp object and use instead of things like chrono::Local::now(), which are non-deterministic.

@penberg penberg added bug Something isn't working simulator labels Jan 4, 2025
@penberg
Copy link
Collaborator Author

penberg commented Jan 4, 2025

#586 does this, but it introduces a new Clock abstraction, which is not what we want

@penberg penberg added this to the 0.1.0 milestone Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working simulator
Projects
None yet
Development

No branches or pull requests

1 participant