-
Notifications
You must be signed in to change notification settings - Fork 13
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
Visualizer updates #60
Conversation
src/data/constants.rs
Outdated
@@ -2,3 +2,5 @@ pub static KB_FACTOR: u64 = 1024; | |||
pub static MB_FACTOR: u64 = 1048576; | |||
pub static TIME_S_FACTOR: u64 = 1000; | |||
pub static FACTOR_OF_ONE: u64 = 1; | |||
pub static MULT_FACTOR: u64 = 1; | |||
pub static SECTORS: u64 = 512; |
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.
That name is pretty vague.
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.
SECTORS?
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.
Darnit, I know why two lines got selected ..... yes I mean SECTORS
if unit == "MB" { | ||
factor = MB_FACTOR; | ||
} |
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.
unit "MB" only occurs for keys that contain "Sectors"???
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.
Yes.
Updates: * CPU Utilization graph y-axis is always 100%. * Diskstat read, sector graph updates. * VMStat graph updates.
05748c5
to
1b9e5ab
Compare
@@ -2,3 +2,5 @@ pub static KB_FACTOR: u64 = 1024; | |||
pub static MB_FACTOR: u64 = 1048576; | |||
pub static TIME_S_FACTOR: u64 = 1000; | |||
pub static FACTOR_OF_ONE: u64 = 1; | |||
pub static MULT_FACTOR_OF_ONE: u64 = 1; | |||
pub static MULT_SECTORS: u64 = 512; |
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.
That name is still pretty unhelpful
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.
:(
Updates:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.