mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 06:06:12 -06:00
[GH-ISSUE #32] Feature request: --interval SEC support milli_second #20
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yantaozhao on GitHub (Aug 4, 2022).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/32
Runtime Environment
3.9Current Behavior
cli options:
--interval SEC: secondsExpected Behavior
--interval Milli_SEC: support milli second, i.e.: not int, but float type@XuehaiPan commented on GitHub (Aug 4, 2022):
Hi @yantaozhao, thanks for raising this. Could you give a more detailed use case to have non-int intervals?
Too small snapshot interval can cause performance issue (lower than 1 sec). Besides, note that the
--intervaloption ofnvitop's CLI only affects the interval for process snapshot. The device metric snapshot interval remains 1 sec (not changed by--interval).If you want to use
nvitopto profile your process performance, maybe you can trynvitop.ResourceMetricCollector.@XuehaiPan commented on GitHub (Aug 11, 2022):
Closing due to lack of motivation and use cases. Feel free to ask to reopen this with additional contexts.