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

show disk avio values in microseconds or nanoseconds as appropriate #89

Merged
merged 1 commit into from Jan 4, 2020

Conversation

db48x
Copy link
Contributor

@db48x db48x commented Dec 12, 2019

I've got a (very nice) drive that regularly has avio times in the single-digit microseconds, which normally shows as 0.00ms.

Atoptool added a commit that referenced this pull request Jan 4, 2020
Very fast drives might show 0.0 ms as the average I/O time. Therefore,
average I/O unit will be adapted to the smallest possible unit.
Due to the use of microseconds (abbreviates to a multibyte character),
the ncursesw library is used instead of ncurses library (the latter
calculates the number of characters in a wrong way).
@Atoptool Atoptool merged commit c20cbce into Atoptool:master Jan 4, 2020
@Atoptool
Copy link
Owner

Atoptool commented Jan 4, 2020

Due to the use of µs for microseconds, the ncurses library has been exchanged by the ncursesw library for correct calculation of the line length.
More decimals have been added for 'avserv' in the output of 'atopsar -d' as well.

@db48x
Copy link
Contributor Author

db48x commented Jan 6, 2020

Thanks!

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.

None yet

2 participants