-
Notifications
You must be signed in to change notification settings - Fork 82
Rename timing helper functions #189
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
base: main
Are you sure you want to change the base?
Conversation
…_ms to cycles_to_millis
|
|
|
build_prs #189 |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/19752362119. |
| @@ -0,0 +1,98 @@ | |||
| # This file is automatically @generated by Cargo. | |||
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.
We are not using cargo to build our project, please check https://vivoblueos.github.io/book to getting started.
| } | ||
|
|
||
| pub(crate) fn get_cycles_to_duration(cycles: u64) -> core::time::Duration { | ||
| pub(crate) fn cycles_to_duration(cycles: u64) -> core::time::Duration { |
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.
Are there any code calling these functions?
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.
No, they are not in usage
|
✅ All jobs completed successfully, see https://github.com/vivoblueos/kernel/actions/runs/19752362119. |
Hi,
this PR rename timing helpers, commited changes:
get_cycles_to_duration -> cycles_to_duration
get_cycles_to_ms _> get_cycles_to_ms
Fixes #179