summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat/mem
diff options
context:
space:
mode:
authorCaleb Palmer <cnpalmer@us.ibm.com>2017-08-03 08:33:41 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2017-08-18 10:49:58 -0400
commitacfd9f12bd91cdb7cb295f6633fe590b67c31ceb (patch)
tree40d2f8e77bafb29b88618f4a5fe9fc99d30cb714 /src/usr/diag/prdf/common/plat/mem
parenta0d6c00c82cf471816e2481fd2e7cd6a3a782d71 (diff)
downloadtalos-hostboot-acfd9f12bd91cdb7cb295f6633fe590b67c31ceb.tar.gz
talos-hostboot-acfd9f12bd91cdb7cb295f6633fe590b67c31ceb.zip
PRD: Runtime TPS Phase 0
Change-Id: I9aee499c606992705d3e0d3e8d660ba94efacd43 RTC: 171914 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44217 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44764 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/plat/mem')
-rw-r--r--src/usr/diag/prdf/common/plat/mem/prdfP9McaDataBundle.H16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/common/plat/mem/prdfP9McaDataBundle.H b/src/usr/diag/prdf/common/plat/mem/prdfP9McaDataBundle.H
index 9ba08a2f1..11153b417 100644
--- a/src/usr/diag/prdf/common/plat/mem/prdfP9McaDataBundle.H
+++ b/src/usr/diag/prdf/common/plat/mem/prdfP9McaDataBundle.H
@@ -70,6 +70,7 @@ class McaDataBundle : public DataBundle
delete iv_impeThresholdCounter;
#ifdef __HOSTBOOT_RUNTIME
delete iv_vcmFalseAlarmCounter;
+ delete iv_tpsFalseAlarmCounter;
#else
delete iv_iplCeStats;
#endif
@@ -115,6 +116,18 @@ class McaDataBundle : public DataBundle
return iv_vcmFalseAlarmCounter;
}
+ /** @return The TPS false alarm counter. */
+ TpsFalseAlarm * getTpsFalseAlarmCounter()
+ {
+ if ( nullptr == iv_tpsFalseAlarmCounter )
+ {
+ iv_tpsFalseAlarmCounter = new TpsFalseAlarm(
+ TimeBasedThreshold{ 3, ThresholdResolution::ONE_DAY } );
+ }
+
+ return iv_tpsFalseAlarmCounter;
+ }
+
#else // IPL only
/** @return The IPL CE statistics object. */
@@ -152,6 +165,9 @@ class McaDataBundle : public DataBundle
/** VCM false alarm counter. */
VcmFalseAlarm * iv_vcmFalseAlarmCounter = nullptr;
+ /** TPS false alarm counter. */
+ TpsFalseAlarm * iv_tpsFalseAlarmCounter = nullptr;
+
#else // IPL only
/** MNFG IPL CE statistics. */
OpenPOWER on IntegriCloud