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

Add Time.Measure functions leveraging system monotonic clocks. #9

Merged
merged 1 commit into from
Mar 18, 2022

Conversation

jemc
Copy link
Contributor

@jemc jemc commented Mar 18, 2022

This is a collection of functions relating to measuring intervals
of time elapsed during some portion of the program's execution.

Functions like Time.Measure.nanoseconds -> (...) can be used to
measure a synchronous operation. For an asynchronous operation,
functions like Time.Measure.current_nanoseconds can return a
value to be captured before and after the operation and
subtracted to indicate the elapsed time over that interval.

This is a collection of functions relating to measuring intervals
of time elapsed during some portion of the program's execution.

Functions like `Time.Measure.nanoseconds -> (...)` can be used to
measure a synchronous operation. For an asynchronous operation,
functions like `Time.Measure.current_nanoseconds` can return a
value to be captured before and after the operation and
subtracted to indicate the elapsed time over that interval.
@jemc jemc self-assigned this Mar 18, 2022
@jemc jemc merged commit 1bc5581 into main Mar 18, 2022
@jemc jemc deleted the add/time-measure branch March 18, 2022 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant