summaryrefslogtreecommitdiffstats
path: root/src/occ_405/amec/amec_health.c
diff options
context:
space:
mode:
authorWael El-Essawy <welessa@us.ibm.com>2015-11-30 14:58:43 -0600
committerWilliam A. Bryan <wilbryan@us.ibm.com>2015-12-04 14:03:28 -0600
commit0694c6bb509e5d91a7f2c7b1f4924e114500dca1 (patch)
tree74f7869436c57df025578370670035a49e46979c /src/occ_405/amec/amec_health.c
parent74ad39e79ccd4d423adea15d82a87fa70ec9b56f (diff)
downloadtalos-occ-0694c6bb509e5d91a7f2c7b1f4924e114500dca1.tar.gz
talos-occ-0694c6bb509e5d91a7f2c7b1f4924e114500dca1.zip
Update Proc Core sensors in amec_slv_states for 24 cores
- maintain 8 core data collection states versus 16 rtls ticks core scheduling scheme, utilizing substates to perform 4 ms full 24 cores data collection. - introduce 4 substates, and distribute them over time (1,3,5,7) - spread core data collection over 8 subsates, reading 3 cores data each time. - eliminate gpe_bulk_core_data_t type - reset dts elements using for loop instead of memset - create amec_update_proc_core_group function and G_sensor_update_pattern array to easily modify core data sensors update pattern Change-Id: Idd752c6ea77829ac308e2089f6582db472c8badc RTC: 140094 RTC: 140183 RTC: 140186 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22347 Tested-by: Wael Elessawy <welessa@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/amec/amec_health.c')
-rwxr-xr-xsrc/occ_405/amec/amec_health.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/occ_405/amec/amec_health.c b/src/occ_405/amec/amec_health.c
index 85c7a7d..58092fc 100755
--- a/src/occ_405/amec/amec_health.c
+++ b/src/occ_405/amec/amec_health.c
@@ -858,7 +858,7 @@ void amec_health_check_proc_timeout()
static uint32_t L_read_fail_cnt = 0;
uint8_t i = 0;
uint8_t l_bad_core_index = 0;
- gpe_bulk_core_data_t *l_core_data_ptr = NULL;
+ CoreData *l_core_data_ptr = NULL;
/*------------------------------------------------------------------------*/
/* Code */
OpenPOWER on IntegriCloud