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

Use nanosecond timing from monotonic clock mtime for profiling #3587

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

nikswamy
Copy link
Collaborator

This PR uses the mtime package for measuring time, providing more accurate profiling. Previously, we were accumulating only millisecond timings in the profiling counters, which led to incorrect accounting.

Thanks to @LukeXuan for reporting the issue.

Note: This PR adds mtime to the list of opam dependences

@nikswamy
Copy link
Collaborator Author

check world succeeds too

@nikswamy nikswamy merged commit adc24f9 into master Oct 19, 2024
24 checks passed
@nikswamy nikswamy deleted the _nik_ns_timing branch October 19, 2024 00:07
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