#include <cklists.h>


Public Member Functions | |
| CkQ () | |
| CkQ (int sz) | |
| ~CkQ () | |
| int | length (void) |
| int | isEmpty (void) |
| T | deq (void) |
| void | enq (const T &elt) |
| void | push (const T &elt) |
| T & | peek () |
| void | insert (int pos, const T &elt) |
| T | remove (int pos) |
| void | removeFrom (int pos) |
| T & | operator[] (size_t n) |
| T * | getArray (void) |
| void | pup (PUP::er &p) |
Private Member Functions | |
| void | _expand (void) |
Private Attributes | |
| T * | block |
| int | blklen |
| int | first |
| int | len |
| int | mask |
See CkMsgQ if T is a Charm++ message type.
Definition at line 35 of file cklists.h.
Definition at line 41 of file cklists.h.
Referenced by CkQ< char * >::enq(), CkQ< char * >::insert(), and CkQ< char * >::push().
Definition at line 65 of file cklists.h.
Referenced by _removeProcessedLogHandler(), _ticketHandler(), batchHandleCorrectionMsg(), bgAddProjEvent(), BgAdjustTimeLineByIndex(), BgAdjustTimeLineFromIndex(), BgFinishCorrection(), BgIntegrityCheck(), BgLogEntryCommit(), bgUpdateProj(), BgWriteThreadTimeLine(), CkArrayBroadcaster::bringUpToDate(), CkGroupReadyCallback::callBuffered(), CkArrayReductionMgr::collectAllMessages(), correctMsgTime(), HashQueueT< CkFutureID, iget_token_struct >::deq(), RouterStrategy::doneInserting(), Router::EachToManyMulticastQ(), HypercubeRouter::EachToManyMulticastQ(), GridRouter::EachToManyMulticastQ(), DimexRouter::EachToManyMulticastQ(), win_obj::emptyQueue(), enqueueCorrectionMsg(), findLeastTime(), CkReductionMgr::finishReduction(), CpdList_msgStack::getLength(), AmpiSeqQ::getOutOfOrder(), BgTimeLineRec::getTimeLogOnThread(), handleCorrectionMsg(), liveVizPollArray::init(), CkLocRec_local::isObsolete(), HashQueueT< CkFutureID, iget_token_struct >::key_deq(), HashQueueT< CkFutureID, iget_token_struct >::key_find(), BgTimeLineRec::length(), liveVizPollArray::liveVizPoll0Deposit(), BgTimeLineRec::logEntryClose(), BgTimeLineRec::logEntryInsert(), BgTimeLineRec::logSplit(), processCorrectionMsg(), CpdList_msgStack::pup(), ChareMlogData::pup(), pupCkQ(), CkArrayReductionMgr::reduceMessages(), removeProcessedLogs(), liveVizPollArray::request(), resendMessageForChare(), sendCheckpointData(), PrefixRouter::sendPointToPoint(), BgTimeLineRec::setStartIdx(), CkArrayBroadcaster::springCleaning(), CkSema::waitN(), and BgTimeLineRec::~BgTimeLineRec().
Definition at line 66 of file cklists.h.
Referenced by CkLocRec_local::addedElement(), RecBisectBfLB::addToQ(), TraceProjections::beginExecute(), CkMulticastMgr::childrenReady(), CkExit(), BgTimeLineRec::clearSendingLogs(), PrefixRouter::EachToManyMulticastQ(), TraceProjections::endExecute(), CkReductionMgr::finishReduction(), CkReductionMgr::flushStates(), CkArrayReductionMgr::flushStates(), CkSemaPool::getNew(), CkMulticastMgr::recvPacket(), and PrefixRouter::sendMulticast().
Definition at line 67 of file cklists.h.
Referenced by CkLocRec_local::addedElement(), RecBisectBfLB::addToQ(), batchHandleCorrectionMsg(), CkArrayBroadcaster::bringUpToDate(), CkGroupReadyCallback::callBuffered(), CkMulticastMgr::childrenReady(), SerialTree::ChildSearch(), CkCreateLocalGroup(), CkCreateLocalNodeGroup(), CkExit(), BgTimeLineRec::clearSendingLogs(), CkArrayReductionMgr::collectAllMessages(), CpdAfterEp(), QdState::deq(), HashQueueT< CkFutureID, iget_token_struct >::deq(), win_obj::dequeue(), Router::EachToManyMulticastQ(), HypercubeRouter::EachToManyMulticastQ(), GridRouter::EachToManyMulticastQ(), DimexRouter::EachToManyMulticastQ(), TraceProjections::endExecute(), VidBlock::fill(), CkReductionMgr::finishReduction(), CkArrayBroadcaster::flushState(), CkReductionMgr::flushStates(), CkArrayReductionMgr::flushStates(), InBuffer::getMessage(), CkSemaPool::getNew(), AmpiSeqQ::getOutOfOrder(), liveVizPollArray::liveVizPoll0Deposit(), win_obj::lockTopQueue(), CkArrayReductionMgr::reduceMessages(), removeProcessedLogs(), liveVizPollArray::request(), PrefixRouter::sendMulticast(), PrefixRouter::sendPointToPoint(), CkArrayBroadcaster::springCleaning(), BgNode::startCommTh(), CkSema::wait(), CkSema::waitN(), CkArrayBroadcaster::~CkArrayBroadcaster(), and SerialTree::~SerialTree().
Definition at line 75 of file cklists.h.
Referenced by _removeProcessedLogHandler(), CkReductionMgr::addContribution(), ChareMlogData::addLogEntry(), BgNode::addMessage(), RecBisectBfLB::addToQ(), batchHandleCorrectionMsg(), TraceProjections::beginExecute(), BgAdjustTimeLineFromIndex(), CkArrayBroadcaster::bringUpToDate(), CkGroupReadyCallback::callMeBack(), CkArrayReductionMgr::collectAllMessages(), CkArrayReductionMgr::contributeArrayReduction(), CkLocRec_local::deliver(), BgTimeLineRec::enq(), QdState::enq(), RecBisectBfLB::enqChildren(), TableEntry::enqMsg(), win_obj::enqueue(), enqueueCorrectionMsg(), CkReductionMgr::finishReduction(), AmpiSeqQ::getOutOfOrder(), CkArrayBroadcaster::incoming(), HashQueueT< CkFutureID, iget_token_struct >::key_enq(), liveVizPollArray::liveVizPoll0Deposit(), RecBisectBfLB::partitionInTwo(), BgTimeLineRec::pup(), ChareMlogData::pup(), pupCkQ(), InBuffer::putMessage(), AmpiSeqQ::putOutOfOrder(), CkMulticastMgr::recvMsg(), CkMulticastMgr::recvPacket(), registerExitFn(), CkSemaPool::release(), removeProcessedLogs(), liveVizPollArray::request(), SerialTree::Search(), VidBlock::send(), CkSema::signal(), and BgTimeLineRec::winPup().
Definition at line 81 of file cklists.h.
Referenced by CpdBeforeEp(), RouterStrategy::doneInserting(), and RouterStrategy::insertMessage().
Definition at line 88 of file cklists.h.
Referenced by CpdAfterEp(), CpdBeforeEp(), CpdGetCurrentMsg(), CpdGetCurrentObject(), and TraceProjections::endExecute().
Definition at line 92 of file cklists.h.
Referenced by HashQueueT< CkFutureID, iget_token_struct >::HashQueueT(), HashQueueT< CkFutureID, iget_token_struct >::key_promote(), win_obj::lockTopQueue(), and HashQueueT< CkFutureID, iget_token_struct >::updatetable().
Definition at line 101 of file cklists.h.
Referenced by BgAdjustTimeLineByIndex(), BgAdjustTimeLineFromIndex(), and HashQueueT< CkFutureID, iget_token_struct >::key_deq().
Definition at line 110 of file cklists.h.
Referenced by BgAdjustTimeLineByIndex(), and BgAdjustTimeLineFromIndex().
Reimplemented in CkMsgQ< MSG >, CkMsgQ< liveVizRequestMsg >, CkMsgQ< AmpiMsg >, and CkMsgQ< CkReductionMsg >.
Definition at line 133 of file cklists.h.
Referenced by BgTimeLineRec::pup().
Definition at line 37 of file cklists.h.
Referenced by CkQ< char * >::_expand(), CkQ< char * >::CkQ(), CkQ< char * >::enq(), CkQ< char * >::insert(), and CkQ< char * >::push().
Definition at line 38 of file cklists.h.
Referenced by CkQ< char * >::_expand(), CkQ< char * >::deq(), CkQ< char * >::enq(), CkQ< char * >::getArray(), CkQ< char * >::insert(), CkQ< char * >::operator[](), CkQ< char * >::peek(), CkQ< char * >::push(), and CkQ< char * >::remove().
Definition at line 39 of file cklists.h.
Referenced by CkQ< char * >::deq(), CkQ< char * >::enq(), CkQ< char * >::getArray(), CkQ< char * >::insert(), CkQ< char * >::isEmpty(), CkQ< char * >::length(), CkQ< char * >::push(), CkQ< char * >::remove(), and CkQ< char * >::removeFrom().
Definition at line 40 of file cklists.h.
Referenced by CkQ< char * >::_expand(), CkQ< char * >::CkQ(), CkQ< char * >::deq(), CkQ< char * >::enq(), CkQ< char * >::getArray(), CkQ< char * >::insert(), CkQ< char * >::operator[](), CkQ< char * >::push(), and CkQ< char * >::remove().
1.5.5