Skip to content

Add System Stats Section at the Bottom of the Window #23

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

Open
rifkybujana opened this issue Oct 28, 2024 · 0 comments
Open

Add System Stats Section at the Bottom of the Window #23

rifkybujana opened this issue Oct 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rifkybujana
Copy link
Collaborator

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:

  1. 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.
  2. 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
  3. 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.
  4. 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.
  5. 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.
  6. 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).
@rifkybujana rifkybujana added the enhancement New feature or request label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant