diff options
author | William Bryan <wilbryan@us.ibm.com> | 2016-04-26 21:20:00 -0500 |
---|---|---|
committer | William A. Bryan <wilbryan@us.ibm.com> | 2016-08-26 16:44:47 -0400 |
commit | c184079818cd001b5fd7664ca974ee721c576522 (patch) | |
tree | ac70f716a10c24d6ef63b7d9b4a46af8b1fe74cc /src/include/core_data.h | |
parent | 9600645dd82bfde4f5bc71ddc578bdab914efa14 (diff) | |
download | talos-occ-c184079818cd001b5fd7664ca974ee721c576522.tar.gz talos-occ-c184079818cd001b5fd7664ca974ee721c576522.zip |
EMPATH Sensor Counters
RTC:148388
Change-Id: Iae66cd0a73032fa908eb96a149d4163397c2e275
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27781
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Reviewed-by: Wael El-Essawy <welessa@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Diffstat (limited to 'src/include/core_data.h')
-rw-r--r-- | src/include/core_data.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/include/core_data.h b/src/include/core_data.h index 375ca49..4787bf6 100644 --- a/src/include/core_data.h +++ b/src/include/core_data.h @@ -34,9 +34,10 @@ #include <stdint.h> #include <p9_config.h> -#define PC_OCC_SPRC 0x00010A82 -#define PC_OCC_SPRD 0x00010A83 -#define TOD_VALUE_REG 0x00040020 +#define PC_OCC_SPRC 0x00010A82 +#define PC_OCC_SPRD 0x00010A83 +#define TOD_VALUE_REG 0x00040020 +#define STOP_STATE_HIST_OCC_REG 0x000F0112 #define CORE_RAW_CYCLES 0x200 #define CORE_RUN_CYCLES 0x208 @@ -110,12 +111,13 @@ typedef struct // // The instance of this data object must be 8 byte aligned // -typedef struct // 120 +typedef struct // 128 { CoreDataEmpath empath; //32 CoreDataThrottle throttle; //16 CoreDataPerThread per_thread[EMPATH_CORE_THREADS]; // 64 CoreDataDts dts; //8 + uint64_t stop_state_hist; } CoreData; #ifdef __cplusplus |