-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Add System Stats Section at the Bottom of the Window
Description:
We need to create a section at the bottom of the window to display system statistics, including GPU and CPU information, as well as memory usage. The section should show real-time data for the following:
- GPU type
- GPU architecture
- GPU usage percentage
- GPU VRAM usage / VRAM capacity
- CPU type
- CPU usage percentage
- RAM usage / RAM capacity
Tasks:
-
Design the system stats section:
- Add a section at the bottom of the window to display the system stats.
- Ensure the section is non-intrusive and blends well with the existing UI design.
-
Gather system statistics:
- Implement functionality to retrieve GPU information:
- GPU type (e.g., NVIDIA RTX 3090)
- GPU architecture (e.g., Ampere)
- GPU usage percentage
- GPU VRAM usage and VRAM capacity
- Implement functionality to retrieve CPU information:
- CPU type (e.g., Intel i7-12700K)
- CPU usage percentage
- Implement functionality to retrieve RAM information:
- RAM usage and total RAM capacity
- Implement functionality to retrieve GPU information:
-
Display the data in the system stats section:
- Show each statistic with appropriate labels (e.g., "GPU Usage: 45%").
- Format memory usage as
Used / Total
(e.g., "VRAM: 4.5 GB / 8 GB"). - Update the stats in real-time to reflect current system usage.
-
Implement refresh/update logic:
- Ensure that the statistics are updated at regular intervals (e.g., every second).
- Optimize the update process to avoid excessive CPU usage or stuttering.
-
Testing:
- Test the system stats section on different hardware configurations (various GPU/CPU types) to ensure compatibility.
- Verify that the data displayed is accurate and updates in real-time.
- Test the layout to ensure the stats section remains consistent across various window sizes and resolutions.
-
Update documentation:
- Document the new system stats section, explaining what information is shown and how often it updates.
- Add troubleshooting information for potential issues (e.g., missing stats on unsupported hardware).
Acceptance Criteria:
- The system stats section appears at the bottom of the window and shows the requested statistics.
- The stats are updated in real-time, with refresh intervals that do not cause lag.
- Information is displayed accurately and is formatted clearly.
- The UI remains consistent and non-intrusive, even on smaller screens.
- Documentation is updated to explain the new feature.
Additional Context:
- The project uses ImGui for UI rendering, and the system stats section should integrate smoothly with the existing interface.
- Platform-specific methods may be needed to retrieve GPU/CPU/RAM information, so ensure cross-platform support (Linux, macOS, Windows).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request