|
| FcSimpleExample (size_t size, bool dedicated=true, uint32_t numRecs=0, uint32_t maxOps=0) |
|
uint64_t | getVal () |
|
void | addNoFC (uint64_t val) |
|
void | add (uint64_t val, Rec *rec=nullptr) |
|
uint64_t | fetchAddNoFC (uint64_t val) |
|
uint64_t | fetchAdd (uint64_t val, Rec *rec=nullptr) |
|
| FlatCombining (const bool dedicated=true, const uint32_t numRecs=0, const uint32_t maxOps=0) |
|
| ~FlatCombining () |
|
void | drainAll () |
|
void | acquireExclusive () |
|
bool | tryExclusive () |
|
void | releaseExclusive () |
|
void | holdLock (LockHolder &l) |
|
void | holdLock (LockHolder &l, std::defer_lock_t) |
|
void | requestNoFC (OpFunc &opFn) |
|
void | requestFC (OpFunc &&opFn, Rec *rec=nullptr, bool syncop=true) |
|
void | requestFC (OpFunc &&opFn, const FillFunc &fillFn, Rec *rec=nullptr, bool syncop=true) |
|
void | requestFC (OpFunc &&opFn, const FillFunc &fillFn, const ResFn &resFn, Rec *rec=nullptr) |
|
Rec * | allocRec () |
|
void | freeRec (Rec *rec) |
|
uint64_t | getNumUncombined () const |
|
uint64_t | getNumCombined () const |
|
uint64_t | getNumPasses () const |
|
uint64_t | getNumSessions () const |
|
template<typename Mutex = std::mutex, template< typename > class Atom = std::atomic>
class folly::FcSimpleExample< Mutex, Atom >
Definition at line 75 of file FlatCombiningExamples.h.