summaryrefslogtreecommitdiffstats
path: root/src/usr/ibscom
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2013-10-30 16:41:53 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-11-07 13:23:00 -0600
commit4de836b2c0ce05bdd51768daa2de666189df1453 (patch)
tree787197ae7ac55f34994820d27429287b40cffb63 /src/usr/ibscom
parent08afd2ffe6aa01c14c0942b25da3bb175cd02d94 (diff)
downloadtalos-hostboot-4de836b2c0ce05bdd51768daa2de666189df1453.tar.gz
talos-hostboot-4de836b2c0ce05bdd51768daa2de666189df1453.zip
Optimized association lookup performance
- Updated attribute compiler to serialize association lists into binary - Updated getAssociated call to optimally search associations - Fixed IBSCOM unit test to look at present/functional targets - Added association list pointers to target object - Removed unused association types, added max association type - Removed association direction enum - Removed association type to attribute type mapping and container - Removed association type to attribute type container initialization - Removed getAssocaited helper functions (get inwards / get outwards) Change-Id: I3b595781d881911b3808f4f91833437a5cac6eb3 RTC: 88619 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7003 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/ibscom')
-rw-r--r--src/usr/ibscom/test/ibscomtest.H6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/ibscom/test/ibscomtest.H b/src/usr/ibscom/test/ibscomtest.H
index 2988233a9..44e2d7e66 100644
--- a/src/usr/ibscom/test/ibscomtest.H
+++ b/src/usr/ibscom/test/ibscomtest.H
@@ -66,9 +66,11 @@ class IBscomTest: public CxxTest::TestSuite
TARGETING::PredicateCTM l_cent(TARGETING::CLASS_CHIP,
TARGETING::TYPE_MEMBUF,
TARGETING::MODEL_NA);
- TARGETING::PredicatePostfixExpr cent_query;
- cent_query.push(&l_cent);
+ TARGETING::PredicateHwas functionalPredicate;
+ functionalPredicate.functional(true);
+ TARGETING::PredicatePostfixExpr cent_query;
+ cent_query.push(&l_cent).push(&functionalPredicate).And();
TARGETING::TargetHandleList centaur_list;
TARGETING::targetService().
OpenPOWER on IntegriCloud