mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[PR #85] [MERGED] fix(api/device): use recent timestamp for GPU process utilization query #153
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#153
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?
📋 Pull Request Information
Original PR: https://github.com/XuehaiPan/nvitop/pull/85
Author: @XuehaiPan
Created: 8/3/2023
Status: ✅ Merged
Merged: 8/4/2023
Merged by: @XuehaiPan
Base:
main← Head:process-utilization📝 Commits (5)
e776daefix(api/device): remove extra timestamp margin for GPU process utilizatione41e0eafix(api/device): use current epoch timestamp for process utilizationb99d905feat(api/process): update GPU status for gone processes27d22cafix(api/device): add extra 0.25s timestamp margin for GPU process utilizationeacefb0docs(CHANGELOG): update changelog📊 Changes
3 files changed (+20 additions, -7 deletions)
View changed files
📝
CHANGELOG.md(+1 -1)📝
nvitop/api/device.py(+6 -5)📝
nvitop/api/process.py(+13 -1)📄 Description
Issue Type
Description
Remove the extra 2s timestamp margin for GPU process utilization. Such a margin may cause the API returns the average utilization rather than the instant values.
Motivation and Context
Resolves #83
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.