SWDEV-504130 Add temperature violation status to amd-smi monitor (#2)

Added boolean temperature violation status to amd-smi monitor.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>

[ROCm/amdsmi commit: d0e770ffbc]
This commit is contained in:
Kanangot Balakrishnan, Bindhiya
2025-01-08 16:35:53 -06:00
committed by GitHub
parent 9e4aa3a2e1
commit 67d5b8568a
4 changed files with 42 additions and 5 deletions
+1 -1
View File
@@ -794,7 +794,7 @@ amdsmi_status_t amdsmi_get_violation_status(amdsmi_processor_handle processor_ha
ss << __PRETTY_FUNCTION__ << " | "
<< "ENTERED socket_thm_residency_acc | per_socket_thrm: " << std::dec
<< violation_status->per_socket_thrm
<< "%; active_ppt_pwr = " << std::dec
<< "%; active_socket_thrm = " << std::dec
<< violation_status->active_socket_thrm << "\n";
LOG_DEBUG(ss);
}