Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::platform::gpu_info Struct Reference

GPU information and metrics. More...

#include <metrics_provider.h>

Collaboration diagram for kcenon::monitoring::platform::gpu_info:
Collaboration graph

Public Attributes

std::string name
 GPU name.
 
std::string vendor
 GPU vendor.
 
double usage_percent {0.0}
 GPU usage percentage.
 
double memory_used_mb {0.0}
 GPU memory used in MB.
 
double memory_total_mb {0.0}
 GPU memory total in MB.
 
double temperature_celsius {0.0}
 GPU temperature in Celsius.
 
double power_watts {0.0}
 GPU power consumption in watts.
 
bool available {false}
 Whether info is available.
 

Detailed Description

GPU information and metrics.

Definition at line 143 of file metrics_provider.h.

Member Data Documentation

◆ available

bool kcenon::monitoring::platform::gpu_info::available {false}

Whether info is available.

Definition at line 151 of file metrics_provider.h.

151{false};

◆ memory_total_mb

double kcenon::monitoring::platform::gpu_info::memory_total_mb {0.0}

GPU memory total in MB.

Definition at line 148 of file metrics_provider.h.

148{0.0};

◆ memory_used_mb

double kcenon::monitoring::platform::gpu_info::memory_used_mb {0.0}

GPU memory used in MB.

Definition at line 147 of file metrics_provider.h.

147{0.0};

◆ name

std::string kcenon::monitoring::platform::gpu_info::name

GPU name.

Definition at line 144 of file metrics_provider.h.

◆ power_watts

double kcenon::monitoring::platform::gpu_info::power_watts {0.0}

GPU power consumption in watts.

Definition at line 150 of file metrics_provider.h.

150{0.0};

◆ temperature_celsius

double kcenon::monitoring::platform::gpu_info::temperature_celsius {0.0}

GPU temperature in Celsius.

Definition at line 149 of file metrics_provider.h.

149{0.0};

◆ usage_percent

double kcenon::monitoring::platform::gpu_info::usage_percent {0.0}

GPU usage percentage.

Definition at line 146 of file metrics_provider.h.

146{0.0};

◆ vendor

std::string kcenon::monitoring::platform::gpu_info::vendor

GPU vendor.

Definition at line 145 of file metrics_provider.h.


The documentation for this struct was generated from the following file: