CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
edm::NoProcessProductResolver Class Reference

#include <ProductResolvers.h>

Inheritance diagram for edm::NoProcessProductResolver:
edm::ProductResolverBase

Public Types

typedef ProducedProductResolver::ProductStatus ProductStatus
 

Public Member Functions

void connectTo (ProductResolverBase const &iOther, Principal const *) final
 
bool dataValidFromResolver (unsigned int iProcessingIndex, Principal const &principal, bool iSkipCurrentProcess) const
 
 NoProcessProductResolver (std::vector< ProductResolverIndex > const &matchingHolders, std::vector< bool > const &ambiguous, bool madeAtEnd)
 
void prefetchFailed (unsigned int iProcessingIndex, Principal const &principal, bool iSkipCurrentProcess, std::exception_ptr iExceptPtr) const
 
void tryPrefetchResolverAsync (unsigned int iProcessingIndex, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc, ServiceToken token, oneapi::tbb::task_group *) const
 
- Public Member Functions inherited from edm::ProductResolverBase
BranchDescription const & branchDescription () const
 
std::string const & moduleLabel () const
 
ProductResolverBaseoperator= (ProductResolverBase const &)=delete
 
void prefetchAsync (WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
 
std::string const & processName () const
 
ProductID const & productID () const
 
std::string const & productInstanceName () const
 
ProductProvenance const * productProvenancePtr () const
 
bool productResolved () const
 
 ProductResolverBase ()
 
 ProductResolverBase (ProductResolverBase const &)=delete
 
TypeID productType () const
 
bool productUnavailable () const
 
bool productWasDeleted () const
 
bool productWasFetchedAndIsValid (bool iSkipCurrentProcess) const
 
Provenance const * provenance () const
 
bool provenanceAvailable () const
 
void resetBranchDescription (std::shared_ptr< BranchDescription const > bd)
 
void resetProductData ()
 
std::string const & resolvedModuleLabel () const
 
Resolution resolveProduct (Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
 
void retrieveAndMerge (Principal const &principal, MergeableRunProductMetadata const *mergeableRunProductMetadata) const
 
void setMergeableRunProductMetadata (MergeableRunProductMetadata const *mrpm)
 
void setProductID (ProductID const &pid)
 
void setProductProvenanceRetriever (ProductProvenanceRetriever const *provRetriever)
 
virtual void setupUnscheduled (UnscheduledConfigurator const &)
 
bool singleProduct () const
 
StableProvenance const * stableProvenance () const
 
void unsafe_deleteProduct () const
 
bool unscheduledWasNotRun () const
 
void write (std::ostream &os) const
 
virtual ~ProductResolverBase ()
 

Private Member Functions

BranchDescription const & branchDescription_ () const override
 
void prefetchAsync_ (WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
 
ProductProvenance const * productProvenancePtr_ () const override
 
bool productResolved_ () const final
 
bool productUnavailable_ () const override
 
bool productWasDeleted_ () const override
 
bool productWasFetchedAndIsValid_ (bool iSkipCurrentProcess) const override
 
Provenance const * provenance_ () const override
 
void resetBranchDescription_ (std::shared_ptr< BranchDescription const > bd) override
 
void resetProductData_ (bool deleteEarly) override
 
std::string const & resolvedModuleLabel_ () const override
 
Resolution resolveProduct_ (Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
 
void setCache (bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const
 
void setProductID_ (ProductID const &pid) override
 
void setProductProvenanceRetriever_ (ProductProvenanceRetriever const *provRetriever) override
 
bool singleProduct_ () const override
 
Resolution tryResolver (unsigned int index, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
 
bool unscheduledWasNotRun_ () const override
 
unsigned int unsetIndexValue () const
 

Private Attributes

std::vector< bool > ambiguous_
 
std::atomic< unsigned int > lastCheckIndex_
 
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
 
const bool madeAtEnd_
 
std::vector< ProductResolverIndexmatchingHolders_
 
std::atomic< bool > prefetchRequested_
 
std::atomic< bool > skippingPrefetchRequested_
 
WaitingTaskList skippingWaitingTasks_
 
WaitingTaskList waitingTasks_
 

Detailed Description

Definition at line 512 of file ProductResolvers.h.

Member Typedef Documentation

◆ ProductStatus

Definition at line 514 of file ProductResolvers.h.

Constructor & Destructor Documentation

◆ NoProcessProductResolver()

edm::NoProcessProductResolver::NoProcessProductResolver ( std::vector< ProductResolverIndex > const &  matchingHolders,
std::vector< bool > const &  ambiguous,
bool  madeAtEnd 
)

Definition at line 925 of file ProductResolvers.cc.

928  : matchingHolders_(matchingHolders),
929  ambiguous_(ambiguous),
932  prefetchRequested_(false),
934  madeAtEnd_{madeAtEnd} {
935  assert(ambiguous_.size() == matchingHolders_.size());
936  }
assert(be >=bs)
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
std::atomic< bool > prefetchRequested_
std::atomic< unsigned int > lastCheckIndex_
std::atomic< bool > skippingPrefetchRequested_
std::vector< bool > ambiguous_
static constexpr unsigned int kUnsetOffset
std::vector< ProductResolverIndex > matchingHolders_

Member Function Documentation

◆ branchDescription_()

BranchDescription const & edm::NoProcessProductResolver::branchDescription_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1200 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

1200  {
1202  << "NoProcessProductResolver::branchDescription_() not implemented and should never be called.\n"
1203  << "Contact a Framework developer\n";
1204  }

◆ connectTo()

void edm::NoProcessProductResolver::connectTo ( ProductResolverBase const &  iOther,
Principal const *   
)
finalvirtual

Implements edm::ProductResolverBase.

Definition at line 1218 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

1218  {
1220  << "NoProcessProductResolver::connectTo() not implemented and should never be called.\n"
1221  << "Contact a Framework developer\n";
1222  }

◆ dataValidFromResolver()

bool edm::NoProcessProductResolver::dataValidFromResolver ( unsigned int  iProcessingIndex,
Principal const &  principal,
bool  iSkipCurrentProcess 
) const

Definition at line 1092 of file ProductResolvers.cc.

References edm::Principal::getProductResolverByIndex(), dqmdumpme::k, edm::Principal::lookupProcessOrder(), matchingHolders_, edm::ProductResolverBase::productWasFetchedAndIsValid(), and setCache().

1094  {
1095  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
1096  auto k = lookupProcessOrder[iProcessingIndex];
1097  ProductResolverBase const* productResolver = principal.getProductResolverByIndex(matchingHolders_[k]);
1098 
1099  if (productResolver->productWasFetchedAndIsValid(iSkipCurrentProcess)) {
1100  setCache(iSkipCurrentProcess, k, nullptr);
1101  return true;
1102  }
1103  return false;
1104  }
void setCache(bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const
std::vector< ProductResolverIndex > matchingHolders_

◆ prefetchAsync_()

void edm::NoProcessProductResolver::prefetchAsync_ ( WaitingTaskHolder  waitTask,
Principal const &  principal,
bool  skipCurrentProcess,
ServiceToken const &  token,
SharedResourcesAcquirer sra,
ModuleCallingContext const *  mcc 
) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 994 of file ProductResolvers.cc.

References edm::WaitingTaskList::add(), edm::WaitingTaskHolder::group(), madeAtEnd_, prefetchRequested_, skippingPrefetchRequested_, skippingWaitingTasks_, unpackBuffers-CaloStage2::token, tryPrefetchResolverAsync(), and waitingTasks_.

999  {
1000  bool timeToMakeAtEnd = true;
1001  if (madeAtEnd_ and mcc) {
1002  timeToMakeAtEnd = mcc->parent().isAtEndTransition();
1003  }
1004 
1005  //If timeToMakeAtEnd is false, then it is equivalent to skipping the current process
1006  if (not skipCurrentProcess and timeToMakeAtEnd) {
1007  //need to try changing prefetchRequested_ before adding to waitingTasks_
1008  bool expected = false;
1009  bool prefetchRequested = prefetchRequested_.compare_exchange_strong(expected, true);
1010  waitingTasks_.add(waitTask);
1011 
1012  if (prefetchRequested) {
1013  //we are the first thread to request
1014  tryPrefetchResolverAsync(0, principal, false, sra, mcc, token, waitTask.group());
1015  }
1016  } else {
1017  skippingWaitingTasks_.add(waitTask);
1018  bool expected = false;
1019  if (skippingPrefetchRequested_.compare_exchange_strong(expected, true)) {
1020  //we are the first thread to request
1021  tryPrefetchResolverAsync(0, principal, true, sra, mcc, token, waitTask.group());
1022  }
1023  }
1024  }
void tryPrefetchResolverAsync(unsigned int iProcessingIndex, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc, ServiceToken token, oneapi::tbb::task_group *) const
void add(oneapi::tbb::task_group *, WaitingTask *)
Adds task to the waiting list.
std::atomic< bool > prefetchRequested_
std::atomic< bool > skippingPrefetchRequested_

◆ prefetchFailed()

void edm::NoProcessProductResolver::prefetchFailed ( unsigned int  iProcessingIndex,
Principal const &  principal,
bool  iSkipCurrentProcess,
std::exception_ptr  iExceptPtr 
) const

Definition at line 1082 of file ProductResolvers.cc.

References dqmdumpme::k, edm::Principal::lookupProcessOrder(), and setCache().

1085  {
1086  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
1087  auto k = lookupProcessOrder[iProcessingIndex];
1088 
1089  setCache(iSkipCurrentProcess, k, iExceptPtr);
1090  }
void setCache(bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const

◆ productProvenancePtr_()

ProductProvenance const * edm::NoProcessProductResolver::productProvenancePtr_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1151 of file ProductResolvers.cc.

1151 { return nullptr; }

◆ productResolved_()

bool edm::NoProcessProductResolver::productResolved_ ( ) const
finalprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1182 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

1182  {
1184  << "NoProcessProductResolver::productResolved_() not implemented and should never be called.\n"
1185  << "Contact a Framework developer\n";
1186  }

◆ productUnavailable_()

bool edm::NoProcessProductResolver::productUnavailable_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1176 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

1176  {
1178  << "NoProcessProductResolver::productUnavailable_() not implemented and should never be called.\n"
1179  << "Contact a Framework developer\n";
1180  }

◆ productWasDeleted_()

bool edm::NoProcessProductResolver::productWasDeleted_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1188 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

1188  {
1190  << "NoProcessProductResolver::productWasDeleted_() not implemented and should never be called.\n"
1191  << "Contact a Framework developer\n";
1192  }

◆ productWasFetchedAndIsValid_()

bool edm::NoProcessProductResolver::productWasFetchedAndIsValid_ ( bool  iSkipCurrentProcess) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1194 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

1194  {
1196  << "NoProcessProductResolver::productWasFetchedAndIsValid_() not implemented and should never be called.\n"
1197  << "Contact a Framework developer\n";
1198  }

◆ provenance_()

Provenance const * edm::NoProcessProductResolver::provenance_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1212 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

1212  {
1214  << "NoProcessProductResolver::provenance_() not implemented and should never be called.\n"
1215  << "Contact a Framework developer\n";
1216  }

◆ resetBranchDescription_()

void edm::NoProcessProductResolver::resetBranchDescription_ ( std::shared_ptr< BranchDescription const >  bd)
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1206 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

1206  {
1208  << "NoProcessProductResolver::resetBranchDescription_() not implemented and should never be called.\n"
1209  << "Contact a Framework developer\n";
1210  }

◆ resetProductData_()

void edm::NoProcessProductResolver::resetProductData_ ( bool  deleteEarly)
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1155 of file ProductResolvers.cc.

References lastCheckIndex_, lastSkipCurrentCheckIndex_, prefetchRequested_, edm::WaitingTaskList::reset(), skippingPrefetchRequested_, skippingWaitingTasks_, unsetIndexValue(), and waitingTasks_.

1155  {
1156  // This function should never receive 'true'. On the other hand,
1157  // nothing should break if a 'true' is passed, because
1158  // NoProcessProductResolver just forwards the resolve
1159  const auto resetValue = unsetIndexValue();
1160  lastCheckIndex_ = resetValue;
1161  lastSkipCurrentCheckIndex_ = resetValue;
1162  prefetchRequested_ = false;
1164  waitingTasks_.reset();
1166  }
void reset()
Resets access to the resource so that added tasks will wait.
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
std::atomic< bool > prefetchRequested_
std::atomic< unsigned int > lastCheckIndex_
std::atomic< bool > skippingPrefetchRequested_
unsigned int unsetIndexValue() const

◆ resolvedModuleLabel_()

std::string const& edm::NoProcessProductResolver::resolvedModuleLabel_ ( ) const
inlineoverrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 560 of file ProductResolvers.h.

References edm::ProductResolverBase::moduleLabel().

560 { return moduleLabel(); }
std::string const & moduleLabel() const

◆ resolveProduct_()

ProductResolverBase::Resolution edm::NoProcessProductResolver::resolveProduct_ ( Principal const &  principal,
bool  skipCurrentProcess,
SharedResourcesAcquirer sra,
ModuleCallingContext const *  mcc 
) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 947 of file ProductResolvers.cc.

References ambiguous_, cms::cuda::assert(), dqmdumpme::k, kAmbiguousOffset, kMissingOffset, kUnsetOffset, lastCheckIndex_, lastSkipCurrentCheckIndex_, edm::Principal::lookupProcessOrder(), madeAtEnd_, edm::ProductResolverBase::Resolution::makeAmbiguous(), matchingHolders_, edm::ProductResolverIndexInvalid, Resolution, L1TObjectsTimingClient_cff::resolution, and tryResolver().

950  {
951  //See if we've already cached which Resolver we should call or if
952  // we know it is ambiguous
953  const unsigned int choiceSize = ambiguous_.size();
954 
955  //madeAtEnd_==true and not at end transition is the same as skipping the current process
956  if ((not skipCurrentProcess) and (madeAtEnd_ and mcc)) {
957  skipCurrentProcess = not mcc->parent().isAtEndTransition();
958  }
959 
960  unsigned int checkCacheIndex = skipCurrentProcess ? lastSkipCurrentCheckIndex_.load() : lastCheckIndex_.load();
961  if (checkCacheIndex != choiceSize + kUnsetOffset) {
962  if (checkCacheIndex == choiceSize + kAmbiguousOffset) {
964  } else if (checkCacheIndex == choiceSize + kMissingOffset) {
965  return Resolution(nullptr);
966  }
967  return tryResolver(checkCacheIndex, principal, skipCurrentProcess, sra, mcc);
968  }
969 
970  std::atomic<unsigned int>& updateCacheIndex = skipCurrentProcess ? lastSkipCurrentCheckIndex_ : lastCheckIndex_;
971 
972  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
973  for (unsigned int k : lookupProcessOrder) {
974  assert(k < ambiguous_.size());
975  if (k == 0)
976  break; // Done
977  if (ambiguous_[k]) {
978  updateCacheIndex = choiceSize + kAmbiguousOffset;
980  }
982  auto resolution = tryResolver(k, principal, skipCurrentProcess, sra, mcc);
983  if (resolution.data() != nullptr) {
984  updateCacheIndex = k;
985  return resolution;
986  }
987  }
988  }
989 
990  updateCacheIndex = choiceSize + kMissingOffset;
991  return Resolution(nullptr);
992  }
static constexpr unsigned int kAmbiguousOffset
static constexpr unsigned int kMissingOffset
assert(be >=bs)
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
std::atomic< unsigned int > lastCheckIndex_
std::vector< bool > ambiguous_
static constexpr unsigned int kUnsetOffset
std::vector< ProductResolverIndex > matchingHolders_
Resolution tryResolver(unsigned int index, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const

◆ setCache()

void edm::NoProcessProductResolver::setCache ( bool  skipCurrentProcess,
ProductResolverIndex  index,
std::exception_ptr  exceptionPtr 
) const
private

Definition at line 1026 of file ProductResolvers.cc.

References edm::WaitingTaskList::doneWaiting(), lastCheckIndex_, lastSkipCurrentCheckIndex_, skippingWaitingTasks_, and waitingTasks_.

Referenced by dataValidFromResolver(), prefetchFailed(), and tryPrefetchResolverAsync().

1028  {
1029  if (not iSkipCurrentProcess) {
1030  lastCheckIndex_ = iIndex;
1031  waitingTasks_.doneWaiting(iExceptPtr);
1032  } else {
1033  lastSkipCurrentCheckIndex_ = iIndex;
1034  skippingWaitingTasks_.doneWaiting(iExceptPtr);
1035  }
1036  }
void doneWaiting(std::exception_ptr iPtr)
Signals that the resource is now available and tasks should be spawned.
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
std::atomic< unsigned int > lastCheckIndex_

◆ setProductID_()

void edm::NoProcessProductResolver::setProductID_ ( ProductID const &  pid)
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1149 of file ProductResolvers.cc.

1149 {}

◆ setProductProvenanceRetriever_()

void edm::NoProcessProductResolver::setProductProvenanceRetriever_ ( ProductProvenanceRetriever const *  provRetriever)
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1147 of file ProductResolvers.cc.

1147 {}

◆ singleProduct_()

bool edm::NoProcessProductResolver::singleProduct_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1168 of file ProductResolvers.cc.

1168 { return false; }

◆ tryPrefetchResolverAsync()

void edm::NoProcessProductResolver::tryPrefetchResolverAsync ( unsigned int  iProcessingIndex,
Principal const &  principal,
bool  skipCurrentProcess,
SharedResourcesAcquirer sra,
ModuleCallingContext const *  mcc,
ServiceToken  token,
oneapi::tbb::task_group *  group 
) const

Definition at line 1106 of file ProductResolvers.cc.

References ambiguous_, cms::cuda::assert(), edm::Principal::getProductResolverByIndex(), watchdog::group, dqmdumpme::k, kAmbiguousOffset, kMissingOffset, edm::Principal::lookupProcessOrder(), matchingHolders_, edm::ProductResolverBase::prefetchAsync(), edm::ProductResolverIndexInvalid, setCache(), TrackValidation_cff::task, and unpackBuffers-CaloStage2::token.

Referenced by prefetchAsync_().

1112  {
1113  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
1114  auto index = iProcessingIndex;
1115 
1116  const unsigned int choiceSize = ambiguous_.size();
1117  unsigned int newCacheIndex = choiceSize + kMissingOffset;
1118  while (index < lookupProcessOrder.size()) {
1119  auto k = lookupProcessOrder[index];
1120  if (k == 0) {
1121  break;
1122  }
1123  assert(k < ambiguous_.size());
1124  if (ambiguous_[k]) {
1125  newCacheIndex = choiceSize + kAmbiguousOffset;
1126  break;
1127  }
1129  //make new task
1130 
1131  auto task = new TryNextResolverWaitingTask(this, index, &principal, sra, mcc, skipCurrentProcess, token, group);
1132  WaitingTaskHolder hTask(*group, task);
1133  ProductResolverBase const* productResolver = principal.getProductResolverByIndex(matchingHolders_[k]);
1134 
1135  //Make sure the Services are available on this thread
1137 
1138  productResolver->prefetchAsync(hTask, principal, skipCurrentProcess, token, sra, mcc);
1139  return;
1140  }
1141  ++index;
1142  }
1143  //data product unavailable
1144  setCache(skipCurrentProcess, newCacheIndex, nullptr);
1145  }
static constexpr unsigned int kAmbiguousOffset
static constexpr unsigned int kMissingOffset
assert(be >=bs)
void setCache(bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const
std::vector< bool > ambiguous_
std::vector< ProductResolverIndex > matchingHolders_

◆ tryResolver()

ProductResolverBase::Resolution edm::NoProcessProductResolver::tryResolver ( unsigned int  index,
Principal const &  principal,
bool  skipCurrentProcess,
SharedResourcesAcquirer sra,
ModuleCallingContext const *  mcc 
) const
private

Definition at line 938 of file ProductResolvers.cc.

References edm::Principal::getProductResolverByIndex(), matchingHolders_, and edm::ProductResolverBase::resolveProduct().

Referenced by resolveProduct_().

942  {
943  ProductResolverBase const* productResolver = principal.getProductResolverByIndex(matchingHolders_[index]);
944  return productResolver->resolveProduct(principal, skipCurrentProcess, sra, mcc);
945  }
std::vector< ProductResolverIndex > matchingHolders_

◆ unscheduledWasNotRun_()

bool edm::NoProcessProductResolver::unscheduledWasNotRun_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1170 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

1170  {
1172  << "NoProcessProductResolver::unscheduledWasNotRun_() not implemented and should never be called.\n"
1173  << "Contact a Framework developer\n";
1174  }

◆ unsetIndexValue()

unsigned int edm::NoProcessProductResolver::unsetIndexValue ( ) const
inlineprivate

Definition at line 1153 of file ProductResolvers.cc.

References ambiguous_, and kUnsetOffset.

Referenced by resetProductData_().

1153 { return ambiguous_.size() + kUnsetOffset; }
std::vector< bool > ambiguous_
static constexpr unsigned int kUnsetOffset

Member Data Documentation

◆ ambiguous_

std::vector<bool> edm::NoProcessProductResolver::ambiguous_
private

Definition at line 576 of file ProductResolvers.h.

Referenced by resolveProduct_(), tryPrefetchResolverAsync(), and unsetIndexValue().

◆ lastCheckIndex_

std::atomic<unsigned int> edm::NoProcessProductResolver::lastCheckIndex_
mutableprivate

Definition at line 579 of file ProductResolvers.h.

Referenced by resetProductData_(), resolveProduct_(), and setCache().

◆ lastSkipCurrentCheckIndex_

std::atomic<unsigned int> edm::NoProcessProductResolver::lastSkipCurrentCheckIndex_
mutableprivate

Definition at line 580 of file ProductResolvers.h.

Referenced by resetProductData_(), resolveProduct_(), and setCache().

◆ madeAtEnd_

const bool edm::NoProcessProductResolver::madeAtEnd_
private

Definition at line 583 of file ProductResolvers.h.

Referenced by prefetchAsync_(), and resolveProduct_().

◆ matchingHolders_

std::vector<ProductResolverIndex> edm::NoProcessProductResolver::matchingHolders_
private

◆ prefetchRequested_

std::atomic<bool> edm::NoProcessProductResolver::prefetchRequested_
mutableprivate

Definition at line 581 of file ProductResolvers.h.

Referenced by prefetchAsync_(), and resetProductData_().

◆ skippingPrefetchRequested_

std::atomic<bool> edm::NoProcessProductResolver::skippingPrefetchRequested_
mutableprivate

Definition at line 582 of file ProductResolvers.h.

Referenced by prefetchAsync_(), and resetProductData_().

◆ skippingWaitingTasks_

WaitingTaskList edm::NoProcessProductResolver::skippingWaitingTasks_
mutableprivate

Definition at line 578 of file ProductResolvers.h.

Referenced by prefetchAsync_(), resetProductData_(), and setCache().

◆ waitingTasks_

WaitingTaskList edm::NoProcessProductResolver::waitingTasks_
mutableprivate

Definition at line 577 of file ProductResolvers.h.

Referenced by prefetchAsync_(), resetProductData_(), and setCache().