Project
Loading...
Searching...
No Matches
o2::itsmft::tracking::CapacityEstimator::Impl Struct Reference

Classes

struct  Entry
 
struct  UndoRecord
 

Public Member Functions

 Impl (Config config)
 
void checkpointBeforeUpdate (KeyType key)
 
void observe (KeyType key, double scale, size_t requested, size_t granted, size_t emitted, size_t spilled, bool overflowed, bool memoryLimited)
 

Public Attributes

Config cfg
 
std::mutex mutex
 
std::unordered_map< KeyType, Entryentries
 
std::unordered_map< KeyType, UndoRecordundo
 
bool transactionActive {false}
 

Detailed Description

Definition at line 29 of file CapacityEstimator.cxx.

Constructor & Destructor Documentation

◆ Impl()

o2::itsmft::tracking::CapacityEstimator::Impl::Impl ( Config  config)
inlineexplicit

Definition at line 41 of file CapacityEstimator.cxx.

Member Function Documentation

◆ checkpointBeforeUpdate()

void o2::itsmft::tracking::CapacityEstimator::Impl::checkpointBeforeUpdate ( KeyType  key)
inline

Definition at line 49 of file CapacityEstimator.cxx.

◆ observe()

void o2::itsmft::tracking::CapacityEstimator::Impl::observe ( KeyType  key,
double  scale,
size_t  requested,
size_t  granted,
size_t  emitted,
size_t  spilled,
bool  overflowed,
bool  memoryLimited 
)
inline

Definition at line 62 of file CapacityEstimator.cxx.

Member Data Documentation

◆ cfg

Config o2::itsmft::tracking::CapacityEstimator::Impl::cfg

Definition at line 43 of file CapacityEstimator.cxx.

◆ entries

std::unordered_map<KeyType, Entry> o2::itsmft::tracking::CapacityEstimator::Impl::entries

Definition at line 45 of file CapacityEstimator.cxx.

◆ mutex

std::mutex o2::itsmft::tracking::CapacityEstimator::Impl::mutex
mutable

Definition at line 44 of file CapacityEstimator.cxx.

◆ transactionActive

bool o2::itsmft::tracking::CapacityEstimator::Impl::transactionActive {false}

Definition at line 47 of file CapacityEstimator.cxx.

◆ undo

std::unordered_map<KeyType, UndoRecord> o2::itsmft::tracking::CapacityEstimator::Impl::undo

Definition at line 46 of file CapacityEstimator.cxx.


The documentation for this struct was generated from the following file: