#include <FUShmBuffer.h>
Public Member Functions | |
pid_t | clientPrcId (unsigned int index) |
void | discardDqmCell (unsigned int iCell) |
void | discardOrphanedRecoCell (unsigned int iCell) |
void | discardRawCell (FUShmRawCell *cell) |
void | discardRecoCell (unsigned int iCell) |
FUShmDqmCell * | dqmCell (unsigned int iCell) |
FUShmDqmCell * | dqmCellToRead () |
dqm::State_t | dqmState (unsigned int index) |
unsigned int | evtNumber (unsigned int index) |
pid_t | evtPrcId (unsigned int index) |
evt::State_t | evtState (unsigned int index) |
time_t | evtTimeStamp (unsigned int index) |
void | finishReadingDqmCell (FUShmDqmCell *cell) |
void | finishReadingRawCell (FUShmRawCell *cell) |
void | finishReadingRecoCell (FUShmRecoCell *cell) |
void | finishWritingRawCell (FUShmRawCell *cell) |
int | incEvtDiscard (unsigned int index, bool lockShm=true) |
void | initialize (unsigned int shmid, unsigned int semid) |
void | lock () |
int | nbRawCellsToRead () const |
unsigned int | nbRawCellsToWrite () const |
unsigned int | nClients () const |
unsigned int | nDqmCells () const |
unsigned int | nRawCells () const |
unsigned int | nRecoCells () const |
void | printDqmState (unsigned int index) |
void | printEvtState (unsigned int index) |
FUShmRawCell * | rawCell (unsigned int iCell) |
FUShmRawCell * | rawCellToDiscard () |
FUShmRawCell * | rawCellToRead () |
FUShmRawCell * | rawCellToWrite () |
FUShmRecoCell * | recoCell (unsigned int iCell) |
FUShmRecoCell * | recoCellToRead () |
void | releaseRawCell (FUShmRawCell *cell) |
bool | removeClientPrcId (pid_t prcId) |
void | reset (bool) |
void | scheduleRawCellForDiscard (unsigned int iCell) |
void | scheduleRawCellForDiscardServerSide (unsigned int iCell) |
void | scheduleRawEmptyCellForDiscard () |
bool | scheduleRawEmptyCellForDiscard (FUShmRawCell *cell, bool &pidstatus) |
void | scheduleRawEmptyCellForDiscardServerSide (FUShmRawCell *cell) |
void | sem_print () |
std::string | sem_print_s () |
int | semid () const |
bool | setDqmState (unsigned int index, dqm::State_t state) |
bool | setEvtDiscard (unsigned int index, unsigned int discard, bool checkValue=false, bool lockShm=true) |
bool | setEvtPrcId (unsigned int index, pid_t prcId) |
bool | setEvtState (unsigned int index, evt::State_t state, bool lockShm=true) |
int | shmid () const |
void | unlock () |
void | writeDqmEmptyEvent () |
bool | writeDqmEventData (unsigned int runNumber, unsigned int evtAtUpdate, unsigned int folderId, unsigned int fuProcessId, unsigned int fuGuid, unsigned char *data, unsigned int dataSize) |
bool | writeErrorEventData (unsigned int runNumber, unsigned int fuProcessId, unsigned int iRawCell, bool checkValue) |
void | writeRawEmptyEvent () |
void | writeRawLumiSectionEvent (unsigned int) |
void | writeRecoEmptyEvent () |
bool | writeRecoEventData (unsigned int runNumber, unsigned int evtNumber, unsigned int outModId, unsigned int fuProcessId, unsigned int fuGuid, unsigned char *data, unsigned int dataSize) |
bool | writeRecoInitMsg (unsigned int outModId, unsigned int fuProcessId, unsigned int fuGuid, unsigned char *data, unsigned int dataSize, unsigned int nExpectedEPs) |
~FUShmBuffer () | |
Static Public Member Functions | |
static FUShmBuffer * | createShmBuffer (bool semgmentationMode, unsigned int nRawCells, unsigned int nRecoCells, unsigned int nDqmCells, unsigned int rawCellSize=0x400000, unsigned int recoCellSize=0x400000, unsigned int dqmCellSize=0x400000) |
static key_t | getSemKey () |
static FUShmBuffer * | getShmBuffer () |
static key_t | getShmDescriptorKey () |
static key_t | getShmKey () |
static bool | releaseSharedMemory () |
static int | sem_create (key_t key, int nsem) |
static int | sem_destroy (int semid) |
static int | sem_get (key_t key, int nsem) |
static void * | shm_attach (int shmid) |
static int | shm_create (key_t key, int size) |
static int | shm_destroy (int shmid) |
static int | shm_get (key_t key, int size) |
static int | shm_nattch (int shmid) |
static unsigned int | size (bool segmentationMode, unsigned int nRawCells, unsigned int nRecoCells, unsigned int nDqmCells, unsigned int rawCellSize, unsigned int recoCellSize, unsigned int dqmCellSize) |
Private Member Functions | |
key_t | dqmCellShmKey (unsigned int iCell) |
FUShmBuffer (bool segmentationMode, unsigned int nRawCells, unsigned int nRecoCells, unsigned int nDqmCells, unsigned int rawCellSize, unsigned int recoCellSize, unsigned int dqmCellSize) | |
unsigned int | indexForEvtNumber (unsigned int evtNumber) |
unsigned int | indexForEvtPrcId (pid_t evtNumber) |
unsigned int | nextDqmReadIndex () |
unsigned int | nextDqmWriteIndex () |
unsigned int | nextIndex (unsigned int offset, unsigned int nCells, unsigned int &iNext) |
unsigned int | nextRawReadIndex () |
unsigned int | nextRawWriteIndex () |
unsigned int | nextRecoReadIndex () |
unsigned int | nextRecoWriteIndex () |
void | postDqmIndexToRead (unsigned int index) |
void | postDqmIndexToWrite (unsigned int index) |
void | postDqmRead () |
void | postDqmWrite () |
void | postIndex (unsigned int index, unsigned int offset, unsigned int nCells, unsigned int &iLast) |
void | postRawDiscard () |
void | postRawDiscarded () |
void | postRawIndexToRead (unsigned int index) |
void | postRawIndexToWrite (unsigned int index) |
void | postRawRead () |
void | postRawWrite () |
void | postRecoIndexToRead (unsigned int index) |
void | postRecoIndexToWrite (unsigned int index) |
void | postRecoRead () |
void | postRecoWrite () |
bool | rawCellReadyForDiscard (unsigned int index) |
key_t | rawCellShmKey (unsigned int iCell) |
key_t | recoCellShmKey (unsigned int iCell) |
void | sem_init (int isem, int value) |
void | sem_post (int isem) |
int | sem_wait (int isem) |
bool | setClientPrcId (pid_t prcId) |
bool | setEvtNumber (unsigned int index, unsigned int evtNumber) |
bool | setEvtTimeStamp (unsigned int index, time_t timeStamp) |
key_t | shmKey (unsigned int iCell, unsigned int offset) |
void | waitDqmRead () |
void | waitDqmWrite () |
void | waitRawDiscard () |
void | waitRawDiscarded () |
void | waitRawRead () |
int | waitRawWrite () |
void | waitRecoRead () |
void | waitRecoWrite () |
Static Private Attributes | |
static const char * | semKeyPath_ |
static const char * | shmKeyPath_ |
Definition at line 41 of file FUShmBuffer.h.
|
private |
Definition at line 53 of file FUShmBuffer.cc.
References clientPrcIdOffset_, dqmCellOffset_, dqmCellPayloadSize_, dqmCellTotalSize_, dqmReadOffset_, dqmStateOffset_, dqmWriteOffset_, evtDiscardOffset_, evtNumberOffset_, evtPrcIdOffset_, evtStateOffset_, evtTimeStampOffset_, i, nClientsMax_, nDqmCells_, nRawCells_, nRecoCells_, rawCellOffset_, rawCellPayloadSize_, rawCellTotalSize_, rawReadOffset_, rawWriteOffset_, recoCellOffset_, recoCellPayloadSize_, recoCellTotalSize_, recoReadOffset_, recoWriteOffset_, segmentationMode_, evf::FUShmDqmCell::size(), evf::FUShmRecoCell::size(), and evf::FUShmRawCell::size().
Referenced by createShmBuffer(), getShmBuffer(), releaseSharedMemory(), and size().
FUShmBuffer::~FUShmBuffer | ( | ) |
Definition at line 152 of file FUShmBuffer.cc.
pid_t FUShmBuffer::clientPrcId | ( | unsigned int | index | ) |
Definition at line 1444 of file FUShmBuffer.cc.
References clientPrcIdOffset_, getHLTprescales::index, and nClientsMax_.
|
static |
Definition at line 917 of file FUShmBuffer.cc.
References gather_cfg::cout, FUShmBuffer(), getSemKey(), getShmDescriptorKey(), getShmKey(), initialize(), nDqmCells(), nRawCells(), nRecoCells(), AlCaHLTBitMon_ParallelJobs::p, releaseSharedMemory(), sem_create(), semid(), shm_attach(), shm_create(), shm_nattch(), shmid(), and size().
Referenced by evf::FUResourceTable::initialize().
void FUShmBuffer::discardDqmCell | ( | unsigned int | iCell | ) |
Definition at line 527 of file FUShmBuffer.cc.
References evf::FUShmDqmCell::clear(), evf::dqm::DISCARDING, dqmCell(), dqmState(), evf::dqm::EMPTY, postDqmIndexToWrite(), postDqmWrite(), segmentationMode_, evf::dqm::SENT, setDqmState(), and evf::utils::state.
void FUShmBuffer::discardOrphanedRecoCell | ( | unsigned int | iCell | ) |
Definition at line 517 of file FUShmBuffer.cc.
References evf::FUShmRecoCell::clear(), postRecoIndexToWrite(), postRecoWrite(), recoCell(), and segmentationMode_.
void FUShmBuffer::discardRawCell | ( | FUShmRawCell * | cell | ) |
Definition at line 495 of file FUShmBuffer.cc.
References postRawDiscard(), and releaseRawCell().
Referenced by evf::FUShmClient::readNext().
void FUShmBuffer::discardRecoCell | ( | unsigned int | iCell | ) |
Definition at line 501 of file FUShmBuffer.cc.
References evf::FUShmRecoCell::clear(), nRawCells_, postRecoIndexToWrite(), postRecoWrite(), evf::FUShmRecoCell::rawCellIndex(), recoCell(), scheduleRawCellForDiscard(), and segmentationMode_.
FUShmDqmCell * FUShmBuffer::dqmCell | ( | unsigned int | iCell | ) |
Definition at line 1678 of file FUShmBuffer.cc.
References gather_cfg::cout, dqmCellOffset_, dqmCellPayloadSize_, dqmCellShmKey(), dqmCellTotalSize_, nDqmCells_, query::result, segmentationMode_, shm_attach(), shm_get(), and shmid().
Referenced by discardDqmCell(), dqmCellToRead(), reset(), writeDqmEmptyEvent(), and writeDqmEventData().
|
private |
Definition at line 1758 of file FUShmBuffer.cc.
References gather_cfg::cout, dqmCellOffset_, nDqmCells_, and shmKey().
Referenced by dqmCell(), and releaseSharedMemory().
FUShmDqmCell * FUShmBuffer::dqmCellToRead | ( | ) |
Definition at line 354 of file FUShmBuffer.cc.
References dqmCell(), dqmState(), evf::dqm::EMPTY, nextDqmReadIndex(), evf::dqm::SENDING, setDqmState(), evf::utils::state, waitDqmRead(), and evf::dqm::WRITTEN.
dqm::State_t FUShmBuffer::dqmState | ( | unsigned int | index | ) |
Definition at line 1394 of file FUShmBuffer.cc.
References dqmStateOffset_, getHLTprescales::index, and nDqmCells_.
Referenced by discardDqmCell(), dqmCellToRead(), finishReadingDqmCell(), printDqmState(), and writeDqmEventData().
unsigned int FUShmBuffer::evtNumber | ( | unsigned int | index | ) |
Definition at line 1407 of file FUShmBuffer.cc.
References evtNumberOffset_, getHLTprescales::index, and nRawCells_.
Referenced by indexForEvtNumber(), and setEvtNumber().
pid_t FUShmBuffer::evtPrcId | ( | unsigned int | index | ) |
Definition at line 1420 of file FUShmBuffer.cc.
References evtPrcIdOffset_, getHLTprescales::index, and nRawCells_.
evt::State_t FUShmBuffer::evtState | ( | unsigned int | index | ) |
Definition at line 1381 of file FUShmBuffer.cc.
References evtStateOffset_, getHLTprescales::index, and nRawCells_.
Referenced by FUShmReader::fillRawData(), finishReadingRawCell(), finishWritingRawCell(), printEvtState(), rawCellToDiscard(), rawCellToRead(), rawCellToWrite(), releaseRawCell(), scheduleRawCellForDiscard(), scheduleRawCellForDiscardServerSide(), writeRawEmptyEvent(), and writeRawLumiSectionEvent().
time_t FUShmBuffer::evtTimeStamp | ( | unsigned int | index | ) |
Definition at line 1432 of file FUShmBuffer.cc.
References evtTimeStampOffset_, getHLTprescales::index, and nRawCells_.
void FUShmBuffer::finishReadingDqmCell | ( | FUShmDqmCell * | cell | ) |
Definition at line 438 of file FUShmBuffer.cc.
References dqmState(), evf::dqm::EMPTY, evf::FUShmDqmCell::index(), segmentationMode_, evf::dqm::SENDING, evf::dqm::SENT, setDqmState(), and evf::utils::state.
void FUShmBuffer::finishReadingRawCell | ( | FUShmRawCell * | cell | ) |
Definition at line 410 of file FUShmBuffer.cc.
References evtState(), evf::FUShmRawCell::index(), evf::evt::PROCESSING, evf::evt::RAWREAD, evf::evt::RAWREADING, segmentationMode_, setEvtState(), setEvtTimeStamp(), evf::utils::state, and cond::rpcobgas::time.
Referenced by FUShmReader::fillRawData(), and evf::FUShmClient::readNext().
void FUShmBuffer::finishReadingRecoCell | ( | FUShmRecoCell * | cell | ) |
Definition at line 426 of file FUShmBuffer.cc.
References nRawCells_, evf::FUShmRecoCell::rawCellIndex(), segmentationMode_, evf::evt::SENT, and setEvtState().
void FUShmBuffer::finishWritingRawCell | ( | FUShmRawCell * | cell | ) |
Definition at line 393 of file FUShmBuffer.cc.
References evf::FUShmRawCell::evtNumber(), evtState(), evf::FUShmRawCell::index(), postRawIndexToRead(), postRawRead(), evf::evt::RAWWRITING, evf::evt::RAWWRITTEN, segmentationMode_, setEvtNumber(), setEvtState(), and evf::utils::state.
Referenced by evf::FUShmServer::writeNext().
|
static |
Definition at line 1169 of file FUShmBuffer.cc.
References gather_cfg::cout, query::result, SEM_KEYID, and semKeyPath_.
Referenced by createShmBuffer(), getShmBuffer(), and releaseSharedMemory().
|
static |
Definition at line 986 of file FUShmBuffer.cc.
References gather_cfg::cout, FUShmBuffer(), getSemKey(), getShmDescriptorKey(), getShmKey(), nDqmCells(), nRawCells(), nRecoCells(), AlCaHLTBitMon_ParallelJobs::p, sem_get(), semid(), setClientPrcId(), shm_attach(), shm_get(), shm_nattch(), shmid(), and size().
Referenced by FUShmDQMOutputService::attachToShm(), and SM_SharedMemoryHandle::getShmBuffer().
|
static |
Definition at line 1151 of file FUShmBuffer.cc.
References gather_cfg::cout, query::result, SHM_DESCRIPTOR_KEYID, and shmKeyPath_.
Referenced by createShmBuffer(), getShmBuffer(), and releaseSharedMemory().
|
static |
Definition at line 1160 of file FUShmBuffer.cc.
References gather_cfg::cout, query::result, SHM_KEYID, and shmKeyPath_.
Referenced by createShmBuffer(), getShmBuffer(), and releaseSharedMemory().
int FUShmBuffer::incEvtDiscard | ( | unsigned int | index, |
bool | lockShm = true |
||
) |
Definition at line 1512 of file FUShmBuffer.cc.
References evtDiscardOffset_, getHLTprescales::index, lock(), nRawCells_, query::result, and unlock().
Referenced by writeRecoEventData().
|
private |
Definition at line 1358 of file FUShmBuffer.cc.
References evtNumber(), evtNumberOffset_, i, and nRawCells_.
Referenced by writeRecoEventData().
|
private |
Definition at line 1370 of file FUShmBuffer.cc.
References evtPrcIdOffset_, i, and nRawCells_.
void FUShmBuffer::initialize | ( | unsigned int | shmid, |
unsigned int | semid | ||
) |
Definition at line 162 of file FUShmBuffer.cc.
References dqmCellOffset_, dqmCellPayloadSize_, dqmCellTotalSize_, i, nDqmCells_, nRawCells_, nRecoCells_, rawCellOffset_, rawCellPayloadSize_, rawCellTotalSize_, recoCellOffset_, recoCellPayloadSize_, recoCellTotalSize_, reset(), segmentationMode_, semid(), semid_, shm_attach(), shm_create(), shmid(), shmid_, and shmKeyPath_.
Referenced by createShmBuffer().
|
inline |
Definition at line 249 of file FUShmBuffer.h.
References sem_wait().
Referenced by incEvtDiscard(), nextIndex(), postIndex(), rawCellReadyForDiscard(), rawCellToWrite(), removeClientPrcId(), setClientPrcId(), setDqmState(), setEvtDiscard(), setEvtNumber(), setEvtPrcId(), setEvtState(), setEvtTimeStamp(), writeErrorEventData(), and writeRecoEventData().
int FUShmBuffer::nbRawCellsToRead | ( | ) | const |
unsigned int FUShmBuffer::nbRawCellsToWrite | ( | ) | const |
|
inline |
|
inline |
Definition at line 67 of file FUShmBuffer.h.
References nDqmCells_.
Referenced by createShmBuffer(), getShmBuffer(), releaseSharedMemory(), and size().
|
private |
Definition at line 1343 of file FUShmBuffer.cc.
References dqmReadNext_, dqmReadOffset_, nDqmCells_, and nextIndex().
Referenced by dqmCellToRead().
|
private |
Definition at line 1338 of file FUShmBuffer.cc.
References dqmWriteNext_, dqmWriteOffset_, nDqmCells_, and nextIndex().
Referenced by writeDqmEmptyEvent(), and writeDqmEventData().
|
private |
Definition at line 1275 of file FUShmBuffer.cc.
References lock(), evf::evtn::offset(), query::result, and unlock().
Referenced by nextDqmReadIndex(), nextDqmWriteIndex(), nextRawReadIndex(), nextRawWriteIndex(), nextRecoReadIndex(), and nextRecoWriteIndex().
|
private |
Definition at line 1303 of file FUShmBuffer.cc.
References nextIndex(), nRawCells_, rawReadNext_, and rawReadOffset_.
Referenced by rawCellToRead().
|
private |
Definition at line 1298 of file FUShmBuffer.cc.
References nextIndex(), nRawCells_, rawWriteNext_, and rawWriteOffset_.
Referenced by rawCellToWrite().
|
private |
Definition at line 1323 of file FUShmBuffer.cc.
References nextIndex(), nRecoCells_, recoReadNext_, and recoReadOffset_.
Referenced by recoCellToRead().
|
private |
Definition at line 1318 of file FUShmBuffer.cc.
References nextIndex(), nRecoCells_, recoWriteNext_, and recoWriteOffset_.
Referenced by writeErrorEventData(), writeRecoEmptyEvent(), writeRecoEventData(), and writeRecoInitMsg().
|
inline |
Definition at line 65 of file FUShmBuffer.h.
References nRawCells_.
Referenced by createShmBuffer(), getShmBuffer(), and releaseSharedMemory().
|
inline |
Definition at line 66 of file FUShmBuffer.h.
References nRecoCells_.
Referenced by createShmBuffer(), getShmBuffer(), and releaseSharedMemory().
|
private |
Definition at line 1353 of file FUShmBuffer.cc.
References dqmReadLast_, dqmReadOffset_, nDqmCells_, and postIndex().
Referenced by writeDqmEmptyEvent(), and writeDqmEventData().
|
private |
Definition at line 1348 of file FUShmBuffer.cc.
References dqmWriteLast_, dqmWriteOffset_, nDqmCells_, and postIndex().
Referenced by discardDqmCell().
|
inlineprivate |
Definition at line 267 of file FUShmBuffer.h.
References sem_post().
Referenced by writeDqmEmptyEvent(), and writeDqmEventData().
|
inlineprivate |
Definition at line 265 of file FUShmBuffer.h.
References sem_post().
Referenced by discardDqmCell().
|
private |
Definition at line 1287 of file FUShmBuffer.cc.
References getHLTprescales::index, lock(), evf::evtn::offset(), and unlock().
Referenced by postDqmIndexToRead(), postDqmIndexToWrite(), postRawIndexToRead(), postRawIndexToWrite(), postRecoIndexToRead(), and postRecoIndexToWrite().
|
inlineprivate |
Definition at line 257 of file FUShmBuffer.h.
References sem_post().
Referenced by discardRawCell(), scheduleRawCellForDiscard(), scheduleRawCellForDiscardServerSide(), scheduleRawEmptyCellForDiscard(), and scheduleRawEmptyCellForDiscardServerSide().
|
inlineprivate |
Definition at line 259 of file FUShmBuffer.h.
References sem_post().
Referenced by scheduleRawCellForDiscard(), scheduleRawCellForDiscardServerSide(), scheduleRawEmptyCellForDiscard(), and scheduleRawEmptyCellForDiscardServerSide().
|
private |
Definition at line 1313 of file FUShmBuffer.cc.
References nRawCells_, postIndex(), rawReadLast_, and rawReadOffset_.
Referenced by finishWritingRawCell(), writeRawEmptyEvent(), and writeRawLumiSectionEvent().
|
private |
Definition at line 1308 of file FUShmBuffer.cc.
References nRawCells_, postIndex(), rawWriteLast_, and rawWriteOffset_.
Referenced by releaseRawCell().
|
inlineprivate |
Definition at line 255 of file FUShmBuffer.h.
References sem_post().
Referenced by finishWritingRawCell(), writeRawEmptyEvent(), and writeRawLumiSectionEvent().
|
inlineprivate |
Definition at line 253 of file FUShmBuffer.h.
References sem_post().
Referenced by releaseRawCell().
|
private |
Definition at line 1333 of file FUShmBuffer.cc.
References nRecoCells_, postIndex(), recoReadLast_, and recoReadOffset_.
Referenced by writeErrorEventData(), writeRecoEmptyEvent(), writeRecoEventData(), and writeRecoInitMsg().
|
private |
Definition at line 1328 of file FUShmBuffer.cc.
References nRecoCells_, postIndex(), recoWriteLast_, and recoWriteOffset_.
Referenced by discardOrphanedRecoCell(), and discardRecoCell().
|
inlineprivate |
Definition at line 263 of file FUShmBuffer.h.
References sem_post().
Referenced by writeErrorEventData(), writeRecoEmptyEvent(), writeRecoEventData(), and writeRecoInitMsg().
|
inlineprivate |
Definition at line 261 of file FUShmBuffer.h.
References sem_post().
Referenced by discardOrphanedRecoCell(), and discardRecoCell().
void FUShmBuffer::printDqmState | ( | unsigned int | index | ) |
Definition at line 911 of file FUShmBuffer.cc.
References gather_cfg::cout, dqmState(), and evf::utils::state.
void FUShmBuffer::printEvtState | ( | unsigned int | index | ) |
Definition at line 878 of file FUShmBuffer.cc.
References gather_cfg::cout, evf::evt::DISCARDING, evf::evt::EMPTY, evtState(), evf::evt::PROCESSED, evf::evt::PROCESSING, evf::evt::RAWREAD, evf::evt::RAWREADING, evf::evt::RAWWRITING, evf::evt::RAWWRITTEN, evf::evt::RECOWRITING, evf::evt::RECOWRITTEN, evf::evt::SENDING, evf::evt::SENT, evf::utils::state, evf::evt::STOP, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by evf::FUShmServer::writeNext().
FUShmRawCell * FUShmBuffer::rawCell | ( | unsigned int | iCell | ) |
Definition at line 1632 of file FUShmBuffer.cc.
References gather_cfg::cout, nRawCells_, rawCellOffset_, rawCellPayloadSize_, rawCellShmKey(), rawCellTotalSize_, query::result, segmentationMode_, shm_attach(), shm_get(), and shmid().
Referenced by rawCellToDiscard(), rawCellToRead(), rawCellToWrite(), reset(), and writeErrorEventData().
|
private |
Definition at line 1701 of file FUShmBuffer.cc.
References evtDiscardOffset_, getHLTprescales::index, lock(), nRawCells_, query::result, and unlock().
Referenced by scheduleRawCellForDiscard(), scheduleRawCellForDiscardServerSide(), scheduleRawEmptyCellForDiscard(), and scheduleRawEmptyCellForDiscardServerSide().
|
private |
Definition at line 1737 of file FUShmBuffer.cc.
References gather_cfg::cout, nRawCells_, rawCellOffset_, and shmKey().
Referenced by rawCell(), and releaseSharedMemory().
FUShmRawCell * FUShmBuffer::rawCellToDiscard | ( | ) |
Definition at line 373 of file FUShmBuffer.cc.
References evf::evt::DISCARDING, evf::evt::EMPTY, evtState(), evf::FUShmRawCell::index(), evf::evt::PROCESSED, rawCell(), rawDiscardIndex_, evf::evt::SENT, setEvtState(), evf::utils::state, evf::evt::STOP, evf::evt::USEDLS, and waitRawDiscarded().
Referenced by evf::FUShmClient::readNext().
FUShmRawCell * FUShmBuffer::rawCellToRead | ( | ) |
Definition at line 317 of file FUShmBuffer.cc.
References evf::evt::EMPTY, evtState(), evf::evt::LUMISECTION, nextRawReadIndex(), rawCell(), evf::evt::RAWREADING, evf::evt::RAWWRITTEN, setEvtPrcId(), setEvtState(), evf::utils::state, evf::evt::STOP, and waitRawRead().
Referenced by FUShmReader::fillRawData(), and evf::FUShmClient::readNext().
FUShmRawCell * FUShmBuffer::rawCellToWrite | ( | ) |
Definition at line 298 of file FUShmBuffer.cc.
References evf::evt::EMPTY, evtState(), lock(), nextRawWriteIndex(), rawCell(), evf::evt::RAWWRITING, setEvtDiscard(), setEvtState(), evf::utils::state, unlock(), and waitRawWrite().
Referenced by scheduleRawEmptyCellForDiscard(), evf::FUShmServer::writeNext(), writeRawEmptyEvent(), and writeRawLumiSectionEvent().
FUShmRecoCell * FUShmBuffer::recoCell | ( | unsigned int | iCell | ) |
Definition at line 1655 of file FUShmBuffer.cc.
References gather_cfg::cout, nRecoCells_, recoCellOffset_, recoCellPayloadSize_, recoCellShmKey(), recoCellTotalSize_, query::result, segmentationMode_, shm_attach(), shm_get(), and shmid().
Referenced by discardOrphanedRecoCell(), discardRecoCell(), recoCellToRead(), reset(), writeErrorEventData(), writeRecoEmptyEvent(), writeRecoEventData(), and writeRecoInitMsg().
|
private |
Definition at line 1747 of file FUShmBuffer.cc.
References gather_cfg::cout, nRecoCells_, recoCellOffset_, and shmKey().
Referenced by recoCell(), and releaseSharedMemory().
FUShmRecoCell * FUShmBuffer::recoCellToRead | ( | ) |
Definition at line 340 of file FUShmBuffer.cc.
References nextRecoReadIndex(), nRawCells_, evf::FUShmRecoCell::rawCellIndex(), recoCell(), evf::evt::SENDING, setEvtState(), and waitRecoRead().
void FUShmBuffer::releaseRawCell | ( | FUShmRawCell * | cell | ) |
Definition at line 546 of file FUShmBuffer.cc.
References evf::FUShmRawCell::clear(), gather_cfg::cout, evf::evt::DISCARDING, evf::evt::EMPTY, evtState(), evf::FUShmRawCell::index(), postRawIndexToWrite(), postRawWrite(), evf::evt::RAWWRITING, segmentationMode_, setEvtDiscard(), setEvtNumber(), setEvtPrcId(), setEvtState(), setEvtTimeStamp(), evf::utils::state, evf::evt::STOP, and evf::evt::USEDLS.
Referenced by discardRawCell().
|
static |
Definition at line 1045 of file FUShmBuffer.cc.
References gather_cfg::cout, dqmCellShmKey(), FUShmBuffer(), getSemKey(), getShmDescriptorKey(), getShmKey(), i, nDqmCells(), nRawCells(), nRecoCells(), AlCaHLTBitMon_ParallelJobs::p, rawCellShmKey(), recoCellShmKey(), sem_destroy(), sem_get(), semid(), shm_attach(), shm_destroy(), shm_get(), shm_nattch(), shmid(), evf::FUShmDqmCell::size(), evf::FUShmRecoCell::size(), evf::FUShmRawCell::size(), size(), and stor::utils::sleep().
Referenced by createShmBuffer(), and evf::FUResourceTable::~FUResourceTable().
bool FUShmBuffer::removeClientPrcId | ( | pid_t | prcId | ) |
Definition at line 1602 of file FUShmBuffer.cc.
References clientPrcIdOffset_, lock(), nClients_, and unlock().
Referenced by scheduleRawEmptyCellForDiscard(), edm::FUShmOutputModule::unregisterFromShm(), and FUShmReader::~FUShmReader().
void FUShmBuffer::reset | ( | bool | shm_detach | ) |
Definition at line 201 of file FUShmBuffer.cc.
References dqmCell(), dqmReadLast_, dqmReadNext_, dqmReadOffset_, dqmWriteLast_, dqmWriteNext_, dqmWriteOffset_, evf::evt::EMPTY, evf::dqm::EMPTY, i, evf::FUShmRecoCell::initialize(), evf::FUShmDqmCell::initialize(), evf::FUShmRawCell::initialize(), nClients_, nDqmCells_, nRawCells_, nRecoCells_, rawCell(), rawReadLast_, rawReadNext_, rawReadOffset_, rawWriteLast_, rawWriteNext_, rawWriteOffset_, recoCell(), recoReadLast_, recoReadNext_, recoReadOffset_, recoWriteLast_, recoWriteNext_, recoWriteOffset_, segmentationMode_, sem_init(), sem_print(), setDqmState(), setEvtDiscard(), setEvtNumber(), setEvtPrcId(), setEvtState(), and setEvtTimeStamp().
Referenced by initialize().
void FUShmBuffer::scheduleRawCellForDiscard | ( | unsigned int | iCell | ) |
Definition at line 454 of file FUShmBuffer.cc.
References evf::evt::EMPTY, evtState(), evf::evt::LUMISECTION, postRawDiscard(), postRawDiscarded(), evf::evt::PROCESSED, evf::evt::PROCESSING, rawCellReadyForDiscard(), rawDiscardIndex_, evf::evt::RECOWRITTEN, evf::evt::SENT, setEvtState(), evf::utils::state, evf::evt::STOP, evf::evt::USEDLS, and waitRawDiscard().
Referenced by discardRecoCell(), FUShmReader::fillRawData(), and evf::FUShmClient::readNext().
void FUShmBuffer::scheduleRawCellForDiscardServerSide | ( | unsigned int | iCell | ) |
Definition at line 478 of file FUShmBuffer.cc.
References evf::evt::EMPTY, evtState(), evf::evt::LUMISECTION, postRawDiscard(), postRawDiscarded(), evf::evt::PROCESSED, rawCellReadyForDiscard(), rawDiscardIndex_, setEvtState(), evf::utils::state, evf::evt::STOP, evf::evt::USEDLS, and waitRawDiscard().
void FUShmBuffer::scheduleRawEmptyCellForDiscard | ( | ) |
Definition at line 638 of file FUShmBuffer.cc.
References evf::FUShmRawCell::index(), postRawDiscarded(), rawCellToWrite(), rawDiscardIndex_, evf::FUShmRawCell::setEventTypeStopper(), setEvtNumber(), setEvtPrcId(), setEvtState(), setEvtTimeStamp(), and evf::evt::STOP.
Referenced by FUShmReader::fillRawData().
bool FUShmBuffer::scheduleRawEmptyCellForDiscard | ( | FUShmRawCell * | cell, |
bool & | pidstatus | ||
) |
Definition at line 652 of file FUShmBuffer.cc.
References evf::FUShmRawCell::index(), postRawDiscard(), postRawDiscarded(), rawCellReadyForDiscard(), rawDiscardIndex_, removeClientPrcId(), segmentationMode_, and waitRawDiscard().
void FUShmBuffer::scheduleRawEmptyCellForDiscardServerSide | ( | FUShmRawCell * | cell | ) |
Definition at line 675 of file FUShmBuffer.cc.
References evf::FUShmRawCell::index(), postRawDiscard(), postRawDiscarded(), rawCellReadyForDiscard(), rawDiscardIndex_, and segmentationMode_.
|
static |
Definition at line 1240 of file FUShmBuffer.cc.
References gather_cfg::cout, and semid().
Referenced by createShmBuffer().
|
static |
Definition at line 1262 of file FUShmBuffer.cc.
References gather_cfg::cout, and query::result.
Referenced by releaseSharedMemory().
|
static |
Definition at line 1251 of file FUShmBuffer.cc.
References gather_cfg::cout, and semid().
Referenced by getShmBuffer(), and releaseSharedMemory().
|
private |
Definition at line 1768 of file FUShmBuffer.cc.
References gather_cfg::cout, and semid().
Referenced by reset().
|
private |
Definition at line 1788 of file FUShmBuffer.cc.
References gather_cfg::cout, and semid().
Referenced by postDqmRead(), postDqmWrite(), postRawDiscard(), postRawDiscarded(), postRawRead(), postRawWrite(), postRecoRead(), postRecoWrite(), and unlock().
void FUShmBuffer::sem_print | ( | ) |
Definition at line 852 of file FUShmBuffer.cc.
References gather_cfg::cout, and semid().
Referenced by FUShmReader::fillRawData(), and reset().
std::string FUShmBuffer::sem_print_s | ( | ) |
|
private |
Definition at line 1775 of file FUShmBuffer.cc.
References gather_cfg::cout, and semid().
Referenced by lock(), waitDqmRead(), waitDqmWrite(), waitRawDiscard(), waitRawDiscarded(), waitRawRead(), waitRawWrite(), waitRecoRead(), and waitRecoWrite().
|
inline |
Definition at line 70 of file FUShmBuffer.h.
References semid_.
Referenced by createShmBuffer(), getShmBuffer(), initialize(), nbRawCellsToRead(), nbRawCellsToWrite(), releaseSharedMemory(), sem_create(), sem_get(), sem_init(), sem_post(), sem_print(), sem_print_s(), and sem_wait().
|
private |
Definition at line 1578 of file FUShmBuffer.cc.
References clientPrcIdOffset_, i, lock(), nClients_, nClientsMax_, and unlock().
Referenced by getShmBuffer().
bool FUShmBuffer::setDqmState | ( | unsigned int | index, |
dqm::State_t | state | ||
) |
Definition at line 1474 of file FUShmBuffer.cc.
References dqmStateOffset_, getHLTprescales::index, lock(), nDqmCells_, evf::utils::state, and unlock().
Referenced by discardDqmCell(), dqmCellToRead(), finishReadingDqmCell(), reset(), and writeDqmEventData().
bool FUShmBuffer::setEvtDiscard | ( | unsigned int | index, |
unsigned int | discard, | ||
bool | checkValue = false , |
||
bool | lockShm = true |
||
) |
Definition at line 1490 of file FUShmBuffer.cc.
References evtDiscardOffset_, getHLTprescales::index, lock(), nRawCells_, and unlock().
Referenced by rawCellToWrite(), releaseRawCell(), reset(), and writeErrorEventData().
|
private |
Definition at line 1532 of file FUShmBuffer.cc.
References evtNumber(), evtNumberOffset_, getHLTprescales::index, lock(), nRawCells_, and unlock().
Referenced by finishWritingRawCell(), releaseRawCell(), reset(), scheduleRawEmptyCellForDiscard(), and writeRawLumiSectionEvent().
bool FUShmBuffer::setEvtPrcId | ( | unsigned int | index, |
pid_t | prcId | ||
) |
Definition at line 1548 of file FUShmBuffer.cc.
References evtPrcIdOffset_, getHLTprescales::index, lock(), nRawCells_, and unlock().
Referenced by rawCellToRead(), releaseRawCell(), reset(), and scheduleRawEmptyCellForDiscard().
bool FUShmBuffer::setEvtState | ( | unsigned int | index, |
evt::State_t | state, | ||
bool | lockShm = true |
||
) |
Definition at line 1456 of file FUShmBuffer.cc.
References evtStateOffset_, getHLTprescales::index, lock(), nRawCells_, evf::utils::state, and unlock().
Referenced by finishReadingRawCell(), finishReadingRecoCell(), finishWritingRawCell(), rawCellToDiscard(), rawCellToRead(), rawCellToWrite(), recoCellToRead(), releaseRawCell(), reset(), scheduleRawCellForDiscard(), scheduleRawCellForDiscardServerSide(), scheduleRawEmptyCellForDiscard(), writeErrorEventData(), writeRawEmptyEvent(), writeRawLumiSectionEvent(), and writeRecoEventData().
|
private |
Definition at line 1563 of file FUShmBuffer.cc.
References evtTimeStampOffset_, getHLTprescales::index, lock(), nRawCells_, stor::utils::timeStamp(), and unlock().
Referenced by finishReadingRawCell(), releaseRawCell(), reset(), and scheduleRawEmptyCellForDiscard().
|
static |
Definition at line 1212 of file FUShmBuffer.cc.
References gather_cfg::cout, NULL, and query::result.
Referenced by createShmBuffer(), dqmCell(), getShmBuffer(), initialize(), rawCell(), recoCell(), and releaseSharedMemory().
|
static |
Definition at line 1178 of file FUShmBuffer.cc.
References gather_cfg::cout, and shmid().
Referenced by createShmBuffer(), and initialize().
|
static |
Definition at line 1230 of file FUShmBuffer.cc.
References gather_cfg::cout, and query::result.
Referenced by releaseSharedMemory().
|
static |
Definition at line 1201 of file FUShmBuffer.cc.
References gather_cfg::cout, and shmid().
Referenced by dqmCell(), getShmBuffer(), rawCell(), recoCell(), and releaseSharedMemory().
|
static |
Definition at line 1223 of file FUShmBuffer.cc.
Referenced by createShmBuffer(), evf::FUResourceTable::discardNoReschedule(), getShmBuffer(), and releaseSharedMemory().
|
inline |
Definition at line 69 of file FUShmBuffer.h.
References shmid_.
Referenced by createShmBuffer(), dqmCell(), getShmBuffer(), initialize(), rawCell(), recoCell(), releaseSharedMemory(), shm_create(), and shm_get().
|
private |
Definition at line 1724 of file FUShmBuffer.cc.
References gather_cfg::cout, i, evf::evtn::offset(), and segmentationMode_.
Referenced by dqmCellShmKey(), rawCellShmKey(), and recoCellShmKey().
|
static |
Definition at line 1128 of file FUShmBuffer.cc.
References FUShmBuffer(), nDqmCells(), evf::evtn::offset(), query::result, evf::FUShmDqmCell::size(), evf::FUShmRecoCell::size(), and evf::FUShmRawCell::size().
Referenced by createShmBuffer(), getShmBuffer(), and releaseSharedMemory().
|
inline |
Definition at line 250 of file FUShmBuffer.h.
References sem_post().
Referenced by incEvtDiscard(), nextIndex(), postIndex(), rawCellReadyForDiscard(), rawCellToWrite(), removeClientPrcId(), setClientPrcId(), setDqmState(), setEvtDiscard(), setEvtNumber(), setEvtPrcId(), setEvtState(), setEvtTimeStamp(), writeErrorEventData(), and writeRecoEventData().
|
inlineprivate |
|
inlineprivate |
Definition at line 264 of file FUShmBuffer.h.
References sem_wait().
Referenced by writeDqmEmptyEvent(), and writeDqmEventData().
|
inlineprivate |
Definition at line 256 of file FUShmBuffer.h.
References sem_wait().
Referenced by scheduleRawCellForDiscard(), scheduleRawCellForDiscardServerSide(), and scheduleRawEmptyCellForDiscard().
|
inlineprivate |
Definition at line 258 of file FUShmBuffer.h.
References sem_wait().
Referenced by rawCellToDiscard().
|
inlineprivate |
|
inlineprivate |
Definition at line 252 of file FUShmBuffer.h.
References sem_wait().
Referenced by rawCellToWrite().
|
inlineprivate |
Definition at line 262 of file FUShmBuffer.h.
References sem_wait().
Referenced by recoCellToRead().
|
inlineprivate |
Definition at line 260 of file FUShmBuffer.h.
References sem_wait().
Referenced by writeErrorEventData(), writeRecoEmptyEvent(), writeRecoEventData(), and writeRecoInitMsg().
void FUShmBuffer::writeDqmEmptyEvent | ( | ) |
Definition at line 626 of file FUShmBuffer.cc.
References evf::FUShmDqmCell::clear(), dqmCell(), nextDqmWriteIndex(), postDqmIndexToRead(), postDqmRead(), segmentationMode_, and waitDqmWrite().
bool FUShmBuffer::writeDqmEventData | ( | unsigned int | runNumber, |
unsigned int | evtAtUpdate, | ||
unsigned int | folderId, | ||
unsigned int | fuProcessId, | ||
unsigned int | fuGuid, | ||
unsigned char * | data, | ||
unsigned int | dataSize | ||
) |
Definition at line 820 of file FUShmBuffer.cc.
References gather_cfg::cout, dqmCell(), dqmCellPayloadSize_, dqmState(), evf::dqm::EMPTY, nextDqmWriteIndex(), postDqmIndexToRead(), postDqmRead(), segmentationMode_, setDqmState(), evf::utils::state, waitDqmWrite(), evf::FUShmDqmCell::writeData(), evf::dqm::WRITING, and evf::dqm::WRITTEN.
Referenced by FUShmDQMOutputService::writeShmDQMData().
bool FUShmBuffer::writeErrorEventData | ( | unsigned int | runNumber, |
unsigned int | fuProcessId, | ||
unsigned int | iRawCell, | ||
bool | checkValue | ||
) |
Definition at line 746 of file FUShmBuffer.cc.
References data, evf::FUShmRawCell::eventSize(), evf::FUShmRawCell::evtNumber(), evf::FUShmRawCell::fedAddr(), evf::FUShmRawCell::fedSize(), evf::evtn::getlbn(), i, lock(), FEDNumbering::MINTriggerGTPFEDID, nextRecoWriteIndex(), evf::FUShmRawCell::payloadAddr(), pos, postRecoIndexToRead(), postRecoRead(), rawCell(), L1Trigger_dataformats::reco, recoCell(), evf::evt::RECOWRITING, evf::evt::RECOWRITTEN, segmentationMode_, setEvtDiscard(), setEvtState(), unlock(), waitRecoWrite(), and evf::FUShmRecoCell::writeErrorEvent().
Referenced by FUShmReader::~FUShmReader().
void FUShmBuffer::writeRawEmptyEvent | ( | ) |
Definition at line 572 of file FUShmBuffer.cc.
References evtState(), evf::FUShmRawCell::index(), postRawIndexToRead(), postRawRead(), rawCellToWrite(), evf::evt::RAWWRITING, segmentationMode_, evf::FUShmRawCell::setEventTypeStopper(), setEvtState(), evf::utils::state, and evf::evt::STOP.
void FUShmBuffer::writeRawLumiSectionEvent | ( | unsigned int | ls | ) |
Definition at line 592 of file FUShmBuffer.cc.
References evtState(), evf::FUShmRawCell::index(), evf::evt::LUMISECTION, postRawIndexToRead(), postRawRead(), rawCellToWrite(), evf::evt::RAWWRITING, segmentationMode_, evf::FUShmRawCell::setEventTypeEol(), setEvtNumber(), setEvtState(), evf::FUShmRawCell::setLumiSection(), and evf::utils::state.
void FUShmBuffer::writeRecoEmptyEvent | ( | ) |
Definition at line 614 of file FUShmBuffer.cc.
References evf::FUShmRecoCell::clear(), nextRecoWriteIndex(), postRecoIndexToRead(), postRecoRead(), recoCell(), segmentationMode_, and waitRecoWrite().
bool FUShmBuffer::writeRecoEventData | ( | unsigned int | runNumber, |
unsigned int | evtNumber, | ||
unsigned int | outModId, | ||
unsigned int | fuProcessId, | ||
unsigned int | fuGuid, | ||
unsigned char * | data, | ||
unsigned int | dataSize | ||
) |
Definition at line 714 of file FUShmBuffer.cc.
References gather_cfg::cout, incEvtDiscard(), indexForEvtNumber(), lock(), nextRecoWriteIndex(), postRecoIndexToRead(), postRecoRead(), recoCell(), recoCellPayloadSize_, evf::evt::RECOWRITING, evf::evt::RECOWRITTEN, segmentationMode_, setEvtState(), unlock(), waitRecoWrite(), and evf::FUShmRecoCell::writeEventData().
Referenced by edm::FUShmOutputModule::doOutputEvent().
bool FUShmBuffer::writeRecoInitMsg | ( | unsigned int | outModId, |
unsigned int | fuProcessId, | ||
unsigned int | fuGuid, | ||
unsigned char * | data, | ||
unsigned int | dataSize, | ||
unsigned int | nExpectedEPs | ||
) |
Definition at line 693 of file FUShmBuffer.cc.
References gather_cfg::cout, nextRecoWriteIndex(), postRecoIndexToRead(), postRecoRead(), recoCell(), recoCellPayloadSize_, segmentationMode_, waitRecoWrite(), and evf::FUShmRecoCell::writeInitMsg().
Referenced by edm::FUShmOutputModule::doOutputHeader().
|
private |
Definition at line 309 of file FUShmBuffer.h.
Referenced by clientPrcId(), FUShmBuffer(), removeClientPrcId(), and setClientPrcId().
|
private |
Definition at line 328 of file FUShmBuffer.h.
Referenced by dqmCell(), dqmCellShmKey(), FUShmBuffer(), and initialize().
|
private |
Definition at line 326 of file FUShmBuffer.h.
Referenced by dqmCell(), FUShmBuffer(), initialize(), and writeDqmEventData().
|
private |
Definition at line 327 of file FUShmBuffer.h.
Referenced by dqmCell(), FUShmBuffer(), and initialize().
|
private |
Definition at line 324 of file FUShmBuffer.h.
|
private |
Definition at line 297 of file FUShmBuffer.h.
Referenced by postDqmIndexToRead(), and reset().
|
private |
Definition at line 296 of file FUShmBuffer.h.
Referenced by nextDqmReadIndex(), and reset().
|
private |
Definition at line 298 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), nextDqmReadIndex(), postDqmIndexToRead(), and reset().
|
private |
Definition at line 305 of file FUShmBuffer.h.
Referenced by dqmState(), FUShmBuffer(), and setDqmState().
|
private |
Definition at line 323 of file FUShmBuffer.h.
|
private |
Definition at line 294 of file FUShmBuffer.h.
Referenced by postDqmIndexToWrite(), and reset().
|
private |
Definition at line 293 of file FUShmBuffer.h.
Referenced by nextDqmWriteIndex(), and reset().
|
private |
Definition at line 295 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), nextDqmWriteIndex(), postDqmIndexToWrite(), and reset().
|
private |
Definition at line 301 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), incEvtDiscard(), rawCellReadyForDiscard(), and setEvtDiscard().
|
private |
Definition at line 302 of file FUShmBuffer.h.
Referenced by evtNumber(), FUShmBuffer(), indexForEvtNumber(), and setEvtNumber().
|
private |
Definition at line 303 of file FUShmBuffer.h.
Referenced by evtPrcId(), FUShmBuffer(), indexForEvtPrcId(), and setEvtPrcId().
|
private |
Definition at line 300 of file FUShmBuffer.h.
Referenced by evtState(), FUShmBuffer(), and setEvtState().
|
private |
Definition at line 304 of file FUShmBuffer.h.
Referenced by evtTimeStamp(), FUShmBuffer(), and setEvtTimeStamp().
|
private |
Definition at line 307 of file FUShmBuffer.h.
Referenced by nClients(), removeClientPrcId(), reset(), and setClientPrcId().
|
private |
Definition at line 308 of file FUShmBuffer.h.
Referenced by clientPrcId(), FUShmBuffer(), and setClientPrcId().
|
private |
Definition at line 325 of file FUShmBuffer.h.
Referenced by dqmCell(), dqmCellShmKey(), dqmState(), FUShmBuffer(), initialize(), nDqmCells(), nextDqmReadIndex(), nextDqmWriteIndex(), postDqmIndexToRead(), postDqmIndexToWrite(), reset(), and setDqmState().
|
private |
Definition at line 311 of file FUShmBuffer.h.
Referenced by discardRecoCell(), evtNumber(), evtPrcId(), evtState(), evtTimeStamp(), finishReadingRecoCell(), FUShmBuffer(), incEvtDiscard(), indexForEvtNumber(), indexForEvtPrcId(), initialize(), nextRawReadIndex(), nextRawWriteIndex(), nRawCells(), postRawIndexToRead(), postRawIndexToWrite(), rawCell(), rawCellReadyForDiscard(), rawCellShmKey(), recoCellToRead(), reset(), setEvtDiscard(), setEvtNumber(), setEvtPrcId(), setEvtState(), and setEvtTimeStamp().
|
private |
Definition at line 318 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), initialize(), nextRecoReadIndex(), nextRecoWriteIndex(), nRecoCells(), postRecoIndexToRead(), postRecoIndexToWrite(), recoCell(), recoCellShmKey(), and reset().
|
private |
Definition at line 314 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), initialize(), rawCell(), and rawCellShmKey().
|
private |
Definition at line 312 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), initialize(), and rawCell().
|
private |
Definition at line 313 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), initialize(), and rawCell().
|
private |
Definition at line 284 of file FUShmBuffer.h.
Referenced by rawCellToDiscard(), scheduleRawCellForDiscard(), scheduleRawCellForDiscardServerSide(), scheduleRawEmptyCellForDiscard(), and scheduleRawEmptyCellForDiscardServerSide().
|
private |
Definition at line 282 of file FUShmBuffer.h.
Referenced by postRawIndexToRead(), and reset().
|
private |
Definition at line 281 of file FUShmBuffer.h.
Referenced by nextRawReadIndex(), and reset().
|
private |
Definition at line 283 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), nextRawReadIndex(), postRawIndexToRead(), and reset().
|
private |
Definition at line 279 of file FUShmBuffer.h.
Referenced by postRawIndexToWrite(), and reset().
|
private |
Definition at line 278 of file FUShmBuffer.h.
Referenced by nextRawWriteIndex(), and reset().
|
private |
Definition at line 280 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), nextRawWriteIndex(), postRawIndexToWrite(), and reset().
|
private |
Definition at line 321 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), initialize(), recoCell(), and recoCellShmKey().
|
private |
Definition at line 319 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), initialize(), recoCell(), writeRecoEventData(), and writeRecoInitMsg().
|
private |
Definition at line 320 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), initialize(), and recoCell().
|
private |
Definition at line 317 of file FUShmBuffer.h.
|
private |
Definition at line 290 of file FUShmBuffer.h.
Referenced by postRecoIndexToRead(), and reset().
|
private |
Definition at line 289 of file FUShmBuffer.h.
Referenced by nextRecoReadIndex(), and reset().
|
private |
Definition at line 291 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), nextRecoReadIndex(), postRecoIndexToRead(), and reset().
|
private |
Definition at line 316 of file FUShmBuffer.h.
|
private |
Definition at line 287 of file FUShmBuffer.h.
Referenced by postRecoIndexToWrite(), and reset().
|
private |
Definition at line 286 of file FUShmBuffer.h.
Referenced by nextRecoWriteIndex(), and reset().
|
private |
Definition at line 288 of file FUShmBuffer.h.
Referenced by FUShmBuffer(), nextRecoWriteIndex(), postRecoIndexToWrite(), and reset().
|
private |
Definition at line 274 of file FUShmBuffer.h.
Referenced by discardDqmCell(), discardOrphanedRecoCell(), discardRecoCell(), dqmCell(), finishReadingDqmCell(), finishReadingRawCell(), finishReadingRecoCell(), finishWritingRawCell(), FUShmBuffer(), initialize(), rawCell(), recoCell(), releaseRawCell(), reset(), scheduleRawEmptyCellForDiscard(), scheduleRawEmptyCellForDiscardServerSide(), shmKey(), writeDqmEmptyEvent(), writeDqmEventData(), writeErrorEventData(), writeRawEmptyEvent(), writeRawLumiSectionEvent(), writeRecoEmptyEvent(), writeRecoEventData(), and writeRecoInitMsg().
|
private |
Definition at line 276 of file FUShmBuffer.h.
Referenced by initialize(), and semid().
|
staticprivate |
Definition at line 331 of file FUShmBuffer.h.
Referenced by getSemKey().
|
private |
Definition at line 275 of file FUShmBuffer.h.
Referenced by initialize(), and shmid().
|
staticprivate |
Definition at line 330 of file FUShmBuffer.h.
Referenced by getShmDescriptorKey(), getShmKey(), and initialize().