Fix reporting amdgpu clock speed
@@ -100,7 +100,7 @@ void amdgpu_get_instant_metrics(struct amdgpu_common_metrics *metrics) {
metrics->average_gfx_power_w = amdgpu_metrics->average_socket_power;
- metrics->current_gfxclk_mhz = amdgpu_metrics->average_gfxclk_frequency;
+ metrics->current_gfxclk_mhz = amdgpu_metrics->current_gfxclk;
metrics->current_uclk_mhz = amdgpu_metrics->current_uclk;
metrics->gpu_temp_c = amdgpu_metrics->temperature_edge;
