summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/framework
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2015-01-14 03:16:32 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-01-16 16:02:44 -0600
commit0d9b304430d0aef907acd0d1ac077845cc8cb929 (patch)
tree7cbe1600b51041063ede55db60a2ddf3dd5a0406 /src/usr/diag/prdf/framework
parent10a7acedb2b79673f997f849e7b344a6c2c78771 (diff)
downloadtalos-hostboot-0d9b304430d0aef907acd0d1ac077845cc8cb929.tar.gz
talos-hostboot-0d9b304430d0aef907acd0d1ac077845cc8cb929.zip
PRD: Enable support for getCurrentTime
Change-Id: I5c66738e0bcf437e7e87e05caeed6ad5fa563ebd RTC: 119024 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15120 Tested-by: Jenkins Server Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15207
Diffstat (limited to 'src/usr/diag/prdf/framework')
-rw-r--r--src/usr/diag/prdf/framework/service/prdfPlatServices.C5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/usr/diag/prdf/framework/service/prdfPlatServices.C b/src/usr/diag/prdf/framework/service/prdfPlatServices.C
index 050773497..a645bd6b2 100644
--- a/src/usr/diag/prdf/framework/service/prdfPlatServices.C
+++ b/src/usr/diag/prdf/framework/service/prdfPlatServices.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -64,8 +64,6 @@ namespace PlatServices
void getCurrentTime( Timer & o_timer )
{
-// TODO: RTC 119024 remove after clock_gettime() is supported in HBRT
-#ifndef __HOSTBOOT_RUNTIME
timespec_t curTime;
PRDF_ASSERT(0 == clock_gettime(CLOCK_MONOTONIC, &curTime))
@@ -74,7 +72,6 @@ void getCurrentTime( Timer & o_timer )
// Since Hostboot doesn't have any system checkstop, we don't have to worry
// about the detailed time struct for system checkstop timestamp.
-#endif
}
//------------------------------------------------------------------------------
OpenPOWER on IntegriCloud