some bugfixes
This commit is contained in:
parent
6010246592
commit
af7def3368
@ -49,8 +49,9 @@ LocalPoolDataSetBase::LocalPoolDataSetBase(sid_t sid,
|
|||||||
|
|
||||||
LocalPoolDataSetBase::LocalPoolDataSetBase(
|
LocalPoolDataSetBase::LocalPoolDataSetBase(
|
||||||
PoolVariableIF **registeredVariablesArray,
|
PoolVariableIF **registeredVariablesArray,
|
||||||
const size_t maxNumberOfVariables):
|
const size_t maxNumberOfVariables, bool protectEveryReadCommitCall):
|
||||||
PoolDataSetBase(registeredVariablesArray, maxNumberOfVariables) {
|
PoolDataSetBase(registeredVariablesArray, maxNumberOfVariables) {
|
||||||
|
this->setReadCommitProtectionBehaviour(protectEveryReadCommitCall);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,11 +21,11 @@ public:
|
|||||||
InternalErrorDataset(object_id_t objectId):
|
InternalErrorDataset(object_id_t objectId):
|
||||||
StaticLocalDataSet(sid_t(objectId , ERROR_SET_ID)) {}
|
StaticLocalDataSet(sid_t(objectId , ERROR_SET_ID)) {}
|
||||||
|
|
||||||
lp_var_t<uint32_t> tmHits = lp_var_t<uint32_t>(hkManager->getOwner(),
|
lp_var_t<uint32_t> tmHits = lp_var_t<uint32_t>(sid.objectId,
|
||||||
TM_HITS, this);
|
TM_HITS, this);
|
||||||
lp_var_t<uint32_t> queueHits = lp_var_t<uint32_t>(hkManager->getOwner(),
|
lp_var_t<uint32_t> queueHits = lp_var_t<uint32_t>(sid.objectId,
|
||||||
QUEUE_HITS, this);
|
QUEUE_HITS, this);
|
||||||
lp_var_t<uint32_t> storeHits = lp_var_t<uint32_t>(hkManager->getOwner(),
|
lp_var_t<uint32_t> storeHits = lp_var_t<uint32_t>(sid.objectId,
|
||||||
STORE_HITS, this);
|
STORE_HITS, this);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user