diff options
author | mbroyles <mbroyles@us.ibm.com> | 2017-06-20 15:54:03 -0500 |
---|---|---|
committer | Martha Broyles <mbroyles@us.ibm.com> | 2017-06-26 16:22:54 -0400 |
commit | 0219f446e54ed2229c62355083cd040c97ab6d20 (patch) | |
tree | 2401afa85bdb4bf746ddf0ff4010edd83fa7276c /src/occ_405/amec/amec_sensors_core.c | |
parent | 99f068dfe8a9927a3d48a34fa02e3ef8acdca4b3 (diff) | |
download | talos-occ-0219f446e54ed2229c62355083cd040c97ab6d20.tar.gz talos-occ-0219f446e54ed2229c62355083cd040c97ab6d20.zip |
Remove time from sensor names
Change-Id: Ic6b8892285610985a80c623b6da35d2766926f4d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42161
Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Diffstat (limited to 'src/occ_405/amec/amec_sensors_core.c')
-rwxr-xr-x | src/occ_405/amec/amec_sensors_core.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/occ_405/amec/amec_sensors_core.c b/src/occ_405/amec/amec_sensors_core.c index e9fab2b..6dd6dfb 100755 --- a/src/occ_405/amec/amec_sensors_core.c +++ b/src/occ_405/amec/amec_sensors_core.c @@ -529,7 +529,7 @@ void amec_calc_freq_and_util_sensors(CoreData * i_core_data_ptr, uint8_t i_core) } // Update Sensor for this core - sensor_update( AMECSENSOR_ARRAY_PTR(NOTBZE4MSP0C0,i_core), (uint16_t) temp32); + sensor_update( AMECSENSOR_ARRAY_PTR(NOTBZEC0,i_core), (uint16_t) temp32); temp32 = i_core_data_ptr->empath.freq_sens_finish; temp32a = g_amec->proc[0].core[i_core].prev_FREQ_SENS_FINISH; @@ -543,14 +543,14 @@ void amec_calc_freq_and_util_sensors(CoreData * i_core_data_ptr, uint8_t i_core) } // Update Sensor for this core - sensor_update( AMECSENSOR_ARRAY_PTR(NOTFIN4MSP0C0,i_core), (uint16_t) temp32); + sensor_update( AMECSENSOR_ARRAY_PTR(NOTFINC0,i_core), (uint16_t) temp32); // ------------------------------------------------------ // Per Core Normalized Average Utilization // ------------------------------------------------------ // <amec_formula> // Result: Calculated Normalized Average Core Utilization - // Sensor: NUTIL3SP0C0 + // Sensor: NUTILC0 // Timescale: 4ms (3s rolling average) // Units: 0.01 % // Min/Max: 0/10000 (0/100%) @@ -611,11 +611,11 @@ void amec_calc_freq_and_util_sensors(CoreData * i_core_data_ptr, uint8_t i_core) // Update sensor for this core if(l_core_sleep_winkle) { - sensor_update(AMECSENSOR_ARRAY_PTR(NUTIL3SP0C0, i_core), 0); + sensor_update(AMECSENSOR_ARRAY_PTR(NUTILC0, i_core), 0); } else { - sensor_update(AMECSENSOR_ARRAY_PTR(NUTIL3SP0C0, i_core), (uint16_t)temp32); + sensor_update(AMECSENSOR_ARRAY_PTR(NUTILC0, i_core), (uint16_t)temp32); } } } @@ -740,7 +740,7 @@ void amec_calc_ips_sensors(CoreData * i_core_data_ptr, uint8_t i_core) // ------------------------------------------------------ // <amec_formula> // Result: Calculated Instructions per Second - // Sensor: IPS4MSP0C0 + // Sensor: IPSC0 // Timescale: 4ms // Units: 0.2Mips // Min/Max: ? @@ -765,7 +765,7 @@ void amec_calc_ips_sensors(CoreData * i_core_data_ptr, uint8_t i_core) { temp32 = 0; } - sensor_update( AMECSENSOR_ARRAY_PTR(IPS4MSP0C0,i_core), (uint16_t) temp32); + sensor_update( AMECSENSOR_ARRAY_PTR(IPSC0,i_core), (uint16_t) temp32); } /*----------------------------------------------------------------------------*/ |