# GPU Statistics

This function block provides real-time statistics regarding the GPU's usage, including memory allocation and temperature. It allows users to monitor GPU performance and health through a simple interface.

## 📥 Inputs <a href="#inputs" id="inputs"></a>

This function block does not have any inputs.

## 📤 Outputs <a href="#outputs" id="outputs"></a>

`String` Returns formatted GPU statistics including name, driver version, memory details, temperature, and usage.

## 🕹️ Controls <a href="#controls" id="controls"></a>

There are no controls associated with this function block, as it automatically retrieves and displays GPU statistics.

## 🎨 Features <a href="#features" id="features"></a>

`Real-time Monitoring` The block updates the GPU statistics regularly, giving users accurate insights into GPU performance.

`Detailed Statistics` Outputs comprehensive information about GPU memory usage, including free memory, used memory, total memory, and memory utilization percentage.

## 📝 Usage Instructions <a href="#usage" id="usage"></a>

1. **Add GPU Statistics Block**: Simply place the GPU Statistics function block into your working environment.
2. **Run the Block**: Execute the block to view up-to-date statistics.
3. **Observe Data**: The statistics will be displayed in the block's UI, updating automatically.

## 📊 Evaluation <a href="#evaluation" id="evaluation"></a>

When executed, this function block displays current GPU statistics, allowing for effective monitoring of GPU health and performance metrics.

## 🛠️ Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

<details>

<summary>No GPU Detected</summary>

If the statistics are not displaying correctly, ensure that your system has a compatible GPU installed and that the corresponding drivers are correctly configured.

</details>

<details>

<summary>Inaccurate Data</summary>

If statistics appear inaccurate, try restarting the application or checking for updates to both the GPU drivers and the software environment to ensure compatibility.

</details>
