From 687aff211d6a018a3361124f8213ff102c9ef121 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Tue, 11 Feb 2014 14:18:03 -0600 Subject: Disable runtime scrub in Simics Change-Id: I22420d5b2afbd14ce2e82283fd0af40437195fa0 CQ: SW243452 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8776 Tested-by: Jenkins Server Reviewed-by: Zane Shelley Reviewed-by: A. Patrick Williams III --- src/usr/hwpf/hwp/core_activate/core_activate.C | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/usr/hwpf/hwp/core_activate') diff --git a/src/usr/hwpf/hwp/core_activate/core_activate.C b/src/usr/hwpf/hwp/core_activate/core_activate.C index d82d77f06..041a6c032 100644 --- a/src/usr/hwpf/hwp/core_activate/core_activate.C +++ b/src/usr/hwpf/hwp/core_activate/core_activate.C @@ -76,6 +76,7 @@ // mss_scrub support #include +#include namespace CORE_ACTIVATE { @@ -457,6 +458,14 @@ void * call_mss_scrub( void * io_pArgs ) TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_mss_scrub entry" ); + // There are performance issues and some functional deficiencies + // that make runtime scrub problematic, so turning it off + if( Util::isSimicsRunning() ) + { + TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "Skipping runtime scrub in Simics" ); + return NULL; + } + errlHndl_t l_errl = PRDF::startScrub(); if ( NULL != l_errl ) { -- cgit v1.2.1