[SWDEV-511296] Update violation_timestamp to read timestamp from firmware

Updated violation_status->violation_timestamp to read values from firmware timestamp

Signed-off-by: Greg Scaffidi <salvatore.scaffidi@amd.com>
Change-Id: I567f824a9ace09a780bca8bb182d45bed681e9ce


[ROCm/amdsmi commit: 87834bf829]
Este commit está contenido en:
Scaffidi, Salvatore
2025-01-27 12:40:31 -06:00
cometido por Maisam Arif
padre ab88f38fa0
commit ab20142e0a
Se han modificado 2 ficheros con 3 adiciones y 9 borrados
+1 -1
Ver fichero
@@ -535,7 +535,7 @@ typedef struct {
*/
typedef struct {
uint64_t reference_timestamp; //!< Represents CPU timestamp in microseconds (uS)
uint64_t violation_timestamp; //!< Violation time in milliseconds (ms)
uint64_t violation_timestamp; //!< Violation time in nanoseconds (ns)
uint64_t acc_counter; //!< Current accumulated counter; Max uint64 means unsupported
uint64_t acc_prochot_thrm; //!< Current accumulated processor hot violation count; Max uint64 means unsupported
uint64_t acc_ppt_pwr; //!< PVIOL; Current accumulated Package Power Tracking (PPT) count; Max uint64 means unsupported