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) const
 
- Public Member Functions inherited from edm::ProductResolverBase
BranchDescription const & branchDescription () const
 
std::string const & moduleLabel () const
 
ProductResolverBaseoperator= (ProductResolverBase const &)=delete
 
void prefetchAsync (WaitingTask *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 putOrMergeProduct (std::unique_ptr< WrapperBase > edp, MergeableRunProductMetadata const *mergeableRunProductMetadata=nullptr) const
 
void putProduct (std::unique_ptr< WrapperBase > edp) 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 setProcessHistory (ProcessHistory const &ph)
 
void setProvenance (ProductProvenanceRetriever const *provRetriever, ProcessHistory const &ph, ProductID const &pid)
 
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_ (WaitingTask *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 putOrMergeProduct_ (std::unique_ptr< WrapperBase > prod, MergeableRunProductMetadata const *mergeableRunProductMetadata) const final
 
void putProduct_ (std::unique_ptr< WrapperBase > edp) 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 setProcessHistory_ (ProcessHistory const &ph) override
 
void setProvenance_ (ProductProvenanceRetriever const *provRetriever, ProcessHistory const &ph, ProductID const &pid) 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 431 of file ProductResolvers.h.

Member Typedef Documentation

Definition at line 433 of file ProductResolvers.h.

Constructor & Destructor Documentation

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

Definition at line 795 of file ProductResolvers.cc.

References ambiguous_, and matchingHolders_.

798  : matchingHolders_(matchingHolders),
799  ambiguous_(ambiguous),
802  prefetchRequested_(false),
804  madeAtEnd_{madeAtEnd} {
805  assert(ambiguous_.size() == matchingHolders_.size());
806  }
static unsigned int kUnsetOffset
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
std::atomic< bool > prefetchRequested_
std::atomic< unsigned int > lastCheckIndex_
std::atomic< bool > skippingPrefetchRequested_
std::vector< bool > ambiguous_
std::vector< ProductResolverIndex > matchingHolders_

Member Function Documentation

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

Implements edm::ProductResolverBase.

Definition at line 1082 of file ProductResolvers.cc.

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

1082  {
1084  << "NoProcessProductResolver::branchDescription_() not implemented and should never be called.\n"
1085  << "Contact a Framework developer\n";
1086  }
void edm::NoProcessProductResolver::connectTo ( ProductResolverBase const &  iOther,
Principal const *   
)
finalvirtual

Implements edm::ProductResolverBase.

Definition at line 1100 of file ProductResolvers.cc.

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

1100  {
1102  << "NoProcessProductResolver::connectTo() not implemented and should never be called.\n"
1103  << "Contact a Framework developer\n";
1104  }
bool edm::NoProcessProductResolver::dataValidFromResolver ( unsigned int  iProcessingIndex,
Principal const &  principal,
bool  iSkipCurrentProcess 
) const

Definition at line 958 of file ProductResolvers.cc.

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

960  {
961  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
962  auto k = lookupProcessOrder[iProcessingIndex];
963  ProductResolverBase const* productResolver = principal.getProductResolverByIndex(matchingHolders_[k]);
964 
965  if (productResolver->productWasFetchedAndIsValid(iSkipCurrentProcess)) {
966  setCache(iSkipCurrentProcess, k, nullptr);
967  return true;
968  }
969  return false;
970  }
void setCache(bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const
def principal(options)
int k[5][pyjets_maxn]
std::vector< ProductResolverIndex > matchingHolders_
void edm::NoProcessProductResolver::prefetchAsync_ ( WaitingTask waitTask,
Principal const &  principal,
bool  skipCurrentProcess,
ServiceToken const &  token,
SharedResourcesAcquirer sra,
ModuleCallingContext const *  mcc 
) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 864 of file ProductResolvers.cc.

References edm::WaitingTaskList::add(), madeAtEnd_, prefetchRequested_, skippingPrefetchRequested_, skippingWaitingTasks_, tryPrefetchResolverAsync(), and waitingTasks_.

869  {
870  bool timeToMakeAtEnd = true;
871  if (madeAtEnd_ and mcc) {
872  timeToMakeAtEnd = mcc->parent().isAtEndTransition();
873  }
874 
875  //If timeToMakeAtEnd is false, then it is equivalent to skipping the current process
876  if (not skipCurrentProcess and timeToMakeAtEnd) {
877  waitingTasks_.add(waitTask);
878 
879  bool expected = false;
880  if (prefetchRequested_.compare_exchange_strong(expected, true)) {
881  //we are the first thread to request
882  tryPrefetchResolverAsync(0, principal, false, sra, mcc, token);
883  }
884  } else {
885  skippingWaitingTasks_.add(waitTask);
886  bool expected = false;
887  if (skippingPrefetchRequested_.compare_exchange_strong(expected, true)) {
888  //we are the first thread to request
889  tryPrefetchResolverAsync(0, principal, true, sra, mcc, token);
890  }
891  }
892  }
void add(WaitingTask *)
Adds task to the waiting list.
def principal(options)
std::atomic< bool > prefetchRequested_
std::atomic< bool > skippingPrefetchRequested_
void tryPrefetchResolverAsync(unsigned int iProcessingIndex, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc, ServiceToken token) const
void edm::NoProcessProductResolver::prefetchFailed ( unsigned int  iProcessingIndex,
Principal const &  principal,
bool  iSkipCurrentProcess,
std::exception_ptr  iExceptPtr 
) const

Definition at line 948 of file ProductResolvers.cc.

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

951  {
952  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
953  auto k = lookupProcessOrder[iProcessingIndex];
954 
955  setCache(iSkipCurrentProcess, k, iExceptPtr);
956  }
void setCache(bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const
def principal(options)
int k[5][pyjets_maxn]
ProductProvenance const * edm::NoProcessProductResolver::productProvenancePtr_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1022 of file ProductResolvers.cc.

1022 { return nullptr; }
bool edm::NoProcessProductResolver::productResolved_ ( ) const
finalprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1050 of file ProductResolvers.cc.

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

1050  {
1052  << "NoProcessProductResolver::productResolved_() not implemented and should never be called.\n"
1053  << "Contact a Framework developer\n";
1054  }
bool edm::NoProcessProductResolver::productUnavailable_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1044 of file ProductResolvers.cc.

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

1044  {
1046  << "NoProcessProductResolver::productUnavailable_() not implemented and should never be called.\n"
1047  << "Contact a Framework developer\n";
1048  }
bool edm::NoProcessProductResolver::productWasDeleted_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1056 of file ProductResolvers.cc.

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

1056  {
1058  << "NoProcessProductResolver::productWasDeleted_() not implemented and should never be called.\n"
1059  << "Contact a Framework developer\n";
1060  }
bool edm::NoProcessProductResolver::productWasFetchedAndIsValid_ ( bool  iSkipCurrentProcess) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1062 of file ProductResolvers.cc.

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

1062  {
1064  << "NoProcessProductResolver::productWasFetchedAndIsValid_() not implemented and should never be called.\n"
1065  << "Contact a Framework developer\n";
1066  }
Provenance const * edm::NoProcessProductResolver::provenance_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1094 of file ProductResolvers.cc.

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

1094  {
1096  << "NoProcessProductResolver::provenance_() not implemented and should never be called.\n"
1097  << "Contact a Framework developer\n";
1098  }
void edm::NoProcessProductResolver::putOrMergeProduct_ ( std::unique_ptr< WrapperBase prod,
MergeableRunProductMetadata const *  mergeableRunProductMetadata 
) const
finalprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1074 of file ProductResolvers.cc.

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

1075  {
1077  << "NoProcessProductResolver::putOrMergeProduct_(std::unique_ptr<WrapperBase> edp, MergeableRunProductMetadata "
1078  "const*) not implemented and should never be called.\n"
1079  << "Contact a Framework developer\n";
1080  }
void edm::NoProcessProductResolver::putProduct_ ( std::unique_ptr< WrapperBase edp) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1068 of file ProductResolvers.cc.

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

1068  {
1070  << "NoProcessProductResolver::putProduct_() not implemented and should never be called.\n"
1071  << "Contact a Framework developer\n";
1072  }
void edm::NoProcessProductResolver::resetBranchDescription_ ( std::shared_ptr< BranchDescription const >  bd)
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1088 of file ProductResolvers.cc.

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

1088  {
1090  << "NoProcessProductResolver::resetBranchDescription_() not implemented and should never be called.\n"
1091  << "Contact a Framework developer\n";
1092  }
void edm::NoProcessProductResolver::resetProductData_ ( bool  deleteEarly)
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1026 of file ProductResolvers.cc.

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

1026  {
1027  const auto resetValue = unsetIndexValue();
1028  lastCheckIndex_ = resetValue;
1029  lastSkipCurrentCheckIndex_ = resetValue;
1030  prefetchRequested_ = false;
1032  waitingTasks_.reset();
1034  }
unsigned int unsetIndexValue() const
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_
std::string const& edm::NoProcessProductResolver::resolvedModuleLabel_ ( ) const
inlineoverrideprivatevirtual
ProductResolverBase::Resolution edm::NoProcessProductResolver::resolveProduct_ ( Principal const &  principal,
bool  skipCurrentProcess,
SharedResourcesAcquirer sra,
ModuleCallingContext const *  mcc 
) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 817 of file ProductResolvers.cc.

References ambiguous_, gen::k, kAmbiguousOffset, kMissingOffset, kUnsetOffset, lastCheckIndex_, lastSkipCurrentCheckIndex_, edm::Principal::lookupProcessOrder(), madeAtEnd_, edm::ProductResolverBase::Resolution::makeAmbiguous(), matchingHolders_, edm::ProductResolverIndexInvalid, Resolution, fftjetproducer_cfi::resolution, and tryResolver().

820  {
821  //See if we've already cached which Resolver we should call or if
822  // we know it is ambiguous
823  const unsigned int choiceSize = ambiguous_.size();
824 
825  //madeAtEnd_==true and not at end transition is the same as skipping the current process
826  if ((not skipCurrentProcess) and (madeAtEnd_ and mcc)) {
827  skipCurrentProcess = not mcc->parent().isAtEndTransition();
828  }
829 
830  unsigned int checkCacheIndex = skipCurrentProcess ? lastSkipCurrentCheckIndex_.load() : lastCheckIndex_.load();
831  if (checkCacheIndex != choiceSize + kUnsetOffset) {
832  if (checkCacheIndex == choiceSize + kAmbiguousOffset) {
834  } else if (checkCacheIndex == choiceSize + kMissingOffset) {
835  return Resolution(nullptr);
836  }
837  return tryResolver(checkCacheIndex, principal, skipCurrentProcess, sra, mcc);
838  }
839 
840  std::atomic<unsigned int>& updateCacheIndex = skipCurrentProcess ? lastSkipCurrentCheckIndex_ : lastCheckIndex_;
841 
842  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
843  for (unsigned int k : lookupProcessOrder) {
844  assert(k < ambiguous_.size());
845  if (k == 0)
846  break; // Done
847  if (ambiguous_[k]) {
848  updateCacheIndex = choiceSize + kAmbiguousOffset;
850  }
852  auto resolution = tryResolver(k, principal, skipCurrentProcess, sra, mcc);
853  if (resolution.data() != nullptr) {
854  updateCacheIndex = k;
855  return resolution;
856  }
857  }
858  }
859 
860  updateCacheIndex = choiceSize + kMissingOffset;
861  return Resolution(nullptr);
862  }
Resolution tryResolver(unsigned int index, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
static unsigned int kUnsetOffset
static unsigned int kMissingOffset
def principal(options)
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
std::atomic< unsigned int > lastCheckIndex_
int k[5][pyjets_maxn]
std::vector< bool > ambiguous_
static unsigned int kAmbiguousOffset
std::vector< ProductResolverIndex > matchingHolders_
void edm::NoProcessProductResolver::setCache ( bool  skipCurrentProcess,
ProductResolverIndex  index,
std::exception_ptr  exceptionPtr 
) const
private

Definition at line 894 of file ProductResolvers.cc.

References edm::WaitingTaskList::doneWaiting(), cmsIgProf_Analysis::execute(), lastCheckIndex_, lastSkipCurrentCheckIndex_, skippingWaitingTasks_, TrackValidation_cff::task, and waitingTasks_.

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

896  {
897  if (not iSkipCurrentProcess) {
898  lastCheckIndex_ = iIndex;
899  waitingTasks_.doneWaiting(iExceptPtr);
900  } else {
903  }
904  }
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_
void edm::NoProcessProductResolver::setProcessHistory_ ( ProcessHistory const &  ph)
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1020 of file ProductResolvers.cc.

1020 {}
void edm::NoProcessProductResolver::setProvenance_ ( ProductProvenanceRetriever const *  provRetriever,
ProcessHistory const &  ph,
ProductID const &  pid 
)
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1016 of file ProductResolvers.cc.

1018  {}
bool edm::NoProcessProductResolver::singleProduct_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1036 of file ProductResolvers.cc.

1036 { return false; }
void edm::NoProcessProductResolver::tryPrefetchResolverAsync ( unsigned int  iProcessingIndex,
Principal const &  principal,
bool  skipCurrentProcess,
SharedResourcesAcquirer sra,
ModuleCallingContext const *  mcc,
ServiceToken  token 
) const

Definition at line 972 of file ProductResolvers.cc.

References ambiguous_, edm::Principal::getProductResolverByIndex(), gen::k, kAmbiguousOffset, kMissingOffset, edm::Principal::lookupProcessOrder(), matchingHolders_, edm::ProductResolverBase::prefetchAsync(), edm::ProductResolverIndexInvalid, setCache(), and TrackValidation_cff::task.

Referenced by prefetchAsync_().

977  {
978  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
979  auto index = iProcessingIndex;
980 
981  const unsigned int choiceSize = ambiguous_.size();
982  unsigned int newCacheIndex = choiceSize + kMissingOffset;
983  while (index < lookupProcessOrder.size()) {
984  auto k = lookupProcessOrder[index];
985  if (k == 0) {
986  break;
987  }
988  assert(k < ambiguous_.size());
989  if (ambiguous_[k]) {
990  newCacheIndex = choiceSize + kAmbiguousOffset;
991  break;
992  }
994  //make new task
995 
996  auto task = new (tbb::task::allocate_root())
997  TryNextResolverWaitingTask(this, index, &principal, sra, mcc, skipCurrentProcess, token);
998  task->increment_ref_count();
999  ProductResolverBase const* productResolver = principal.getProductResolverByIndex(matchingHolders_[k]);
1000 
1001  //Make sure the Services are available on this thread
1002  ServiceRegistry::Operate guard(token);
1003 
1004  productResolver->prefetchAsync(task, principal, skipCurrentProcess, token, sra, mcc);
1005  if (0 == task->decrement_ref_count()) {
1006  tbb::task::spawn(*task);
1007  }
1008  return;
1009  }
1010  ++index;
1011  }
1012  //data product unavailable
1013  setCache(skipCurrentProcess, newCacheIndex, nullptr);
1014  }
void setCache(bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const
static unsigned int kMissingOffset
def principal(options)
int k[5][pyjets_maxn]
std::vector< bool > ambiguous_
static unsigned int kAmbiguousOffset
std::vector< ProductResolverIndex > matchingHolders_
ProductResolverBase::Resolution edm::NoProcessProductResolver::tryResolver ( unsigned int  index,
Principal const &  principal,
bool  skipCurrentProcess,
SharedResourcesAcquirer sra,
ModuleCallingContext const *  mcc 
) const
private

Definition at line 808 of file ProductResolvers.cc.

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

Referenced by resolveProduct_().

812  {
813  ProductResolverBase const* productResolver = principal.getProductResolverByIndex(matchingHolders_[index]);
814  return productResolver->resolveProduct(principal, skipCurrentProcess, sra, mcc);
815  }
def principal(options)
std::vector< ProductResolverIndex > matchingHolders_
bool edm::NoProcessProductResolver::unscheduledWasNotRun_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 1038 of file ProductResolvers.cc.

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

1038  {
1040  << "NoProcessProductResolver::unscheduledWasNotRun_() not implemented and should never be called.\n"
1041  << "Contact a Framework developer\n";
1042  }
unsigned int edm::NoProcessProductResolver::unsetIndexValue ( ) const
inlineprivate

Definition at line 1024 of file ProductResolvers.cc.

References ambiguous_, and kUnsetOffset.

Referenced by resetProductData_().

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

Member Data Documentation

std::vector<bool> edm::NoProcessProductResolver::ambiguous_
private
std::atomic<unsigned int> edm::NoProcessProductResolver::lastCheckIndex_
mutableprivate

Definition at line 502 of file ProductResolvers.h.

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

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

Definition at line 503 of file ProductResolvers.h.

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

const bool edm::NoProcessProductResolver::madeAtEnd_
private

Definition at line 506 of file ProductResolvers.h.

Referenced by prefetchAsync_(), and resolveProduct_().

std::vector<ProductResolverIndex> edm::NoProcessProductResolver::matchingHolders_
private
std::atomic<bool> edm::NoProcessProductResolver::prefetchRequested_
mutableprivate

Definition at line 504 of file ProductResolvers.h.

Referenced by prefetchAsync_(), and resetProductData_().

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

Definition at line 505 of file ProductResolvers.h.

Referenced by prefetchAsync_(), and resetProductData_().

WaitingTaskList edm::NoProcessProductResolver::skippingWaitingTasks_
mutableprivate

Definition at line 501 of file ProductResolvers.h.

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

WaitingTaskList edm::NoProcessProductResolver::waitingTasks_
mutableprivate

Definition at line 500 of file ProductResolvers.h.

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