-
Notifications
You must be signed in to change notification settings - Fork 9
feat: implement hardware monitoring updates with event listener and refactor related hooks #1227
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c5b1789
feat: implement hardware monitoring updates with event listener and r…
shm11C3 4da4e6e
fix: round GPU usage value in hardware update emission
shm11C3 f931703
refactor: simplify type definitions for process history in archive se…
shm11C3 e209126
refactor: clean up formatting and improve readability in monitoring s…
shm11C3 942e856
refactor: streamline import statements in useHardwareData test file
shm11C3 8900b5e
refactor: standardize comment language in useHardwareEventListener te…
shm11C3 2397094
refactor: update pad function to handle nullable number arrays in use…
shm11C3 994ab5f
refactor: improve error handling in emit_hardware_update function
shm11C3 3cc069a
refactor: simplify gpuUsageSource assignment in useHardwareEventListener
shm11C3 89ddece
Update src-tauri/src/services/monitoring_service.rs
shm11C3 6520b70
refactor: extract padHistory function and simplify hardware update ha…
shm11C3 f29f106
refactor: enhance HardwareMonitorUpdate with GPU details and update r…
shm11C3 13c85ff
refactor: enhance GPU monitoring with cooler level and dedicated memo…
shm11C3 2250db1
refactor: remove unused GPU cooler functions and related tests
shm11C3 c4900c2
refactor: remove GPU memory usage command and related logic
shm11C3 cd85397
refactor: implement get_gpu_memory_usage method for WindowsPlatform a…
shm11C3 ed938e9
refactor: add get_gpu_memory_usage command and update related documen…
shm11C3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The doc comment above
get_cpu_usage_historydescribes “realtime GPU memory usage” (best-effort), but this function returns CPU usage history. Please correct the doc comment (and then regeneratesrc/rspc/bindings.ts) to avoid misleading API docs for frontend callers.