-
Notifications
You must be signed in to change notification settings - Fork 5
Use microseconds instead of milliseconds to generate higher throughput #5
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?
Changes from 5 commits
8650998
a676231
ff1b8e3
f37939e
92b73fb
8dfcf8f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ pub struct Config { | |
| #[derive(Deserialize, Clone)] | ||
| pub struct Group { | ||
| pub group_name: String, | ||
| pub cycle_time_ms: u16, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of hardcoding it to either ms or microseconds (and choosing between a |
||
| pub cycle_time_microseconds: u32, | ||
| pub signals: Vec<Signal>, | ||
| } | ||
| #[derive(Deserialize, Clone)] | ||
|
|
||
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.
Just want to make sure that it is intentional to change semantic meaning of the example, i.e. that we in some cases (like here) keep the numeric value, in other multiply be 100
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.
It was actually non intentional, just left some value, provided more realistic values