-
Notifications
You must be signed in to change notification settings - Fork 39
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
Spin Hint #771
base: develop
Are you sure you want to change the base?
Spin Hint #771
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some nits and a concern about potential timer doubling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. I have a few nits about code organization. It'd be great to try it out in term.c at some point. And we should probably add some spin-stack entries for top-level ipc messages (snapshot save, &c).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nits:
This PR adds a
%spin
hint to vere. This hint provides a labeled compute stack in shared memory. It also includes an SSE endpoint located at/~_~/spin
which will push the current non-empty stack to the SSE endpoint as a comma separated value string. The endpoint is set to sample the spin stack at 10kHz (0.1 ms).To test this:
/~_~/spin
(g ~[1 2 3 4 5 6 7 8 9 10])
in dojo.