[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
This commit is contained in:
Scaffidi, Salvatore
2025-01-27 12:40:31 -06:00
zatwierdzone przez Maisam Arif
rodzic dc228398d0
commit 87834bf829
2 zmienionych plików z 3 dodań i 9 usunięć
+1 -1
Wyświetl plik
@@ -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