|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Counters of TrgInpGen, exported by TrgInpGen::setupMetrics(). More...
#include <TrgInpGen.hh>
Public Attributes | |
| uint64_t * | state {nullptr} |
| Kernel state monitor (DRP_tigState). | |
| uint64_t * | rcvWtCtr {nullptr} |
| Buffers taken from the reader queues (DRP_tigRcv). | |
| uint64_t * | fwdWtCtr {nullptr} |
| Buffers passed to the device-to-host queue (DRP_tigFwd). | |
| uint64_t | pndWtCtr {0} |
| Buffers popped by the receiver thread (DRP_colRcv). | |
| uint64_t | pidWtCtr {0} |
| Exported as DRP_pidWtCtr but never incremented. | |
| uint64_t | nEvents {0} |
| Buffers accepted by the receiver thread (DRP_evtCtr and drp_event_rate). | |
| uint64_t | nDmaRet {0} |
| Buffers accepted in the last pass of the receiver loop (drp_num_dma_ret). | |
| uint64_t | nHdrMismatch {0} |
| Not used. | |
| uint64_t | dmaSize {0} |
| Size in bytes of the last DMA (drp_dma_size). | |
| uint64_t | dmaBytes {0} |
| Total DMA bytes (drp_pgp_byte_rate). | |
| uint64_t | latency {0} |
| TimingHeader latency in microseconds, updated when the pulse ID has advanced by more than 1300000/14 (about 10 Hz, per the code comment) (drp_th_latency). | |
| uint64_t | nDmaErrors {0} |
| DMAs with error bits set in the descriptor header (drp_num_dma_errors). | |
| uint64_t | nNoComRoG {0} |
| Buffers without this DRP's readout group (drp_num_no_common_rog). | |
| uint64_t | nMissingRoGs {0} |
| SlowUpdates missing readout groups of rogMask (drp_num_missing_rogs). | |
| uint64_t | nTmgHdrError {0} |
| TimingHeaders with the error bit set (drp_num_th_error). | |
| uint64_t | nPgpJumps {0} |
| Jumps in the TimingHeader event counter (drp_num_pgp_jump). | |
Counters of TrgInpGen, exported by TrgInpGen::setupMetrics().
The first three are in pinned host memory for the kernels, which update them only if DBG is enabled in TrgInpGen.cu.
| uint64_t Drp::Gpu::TrgInpGenMetrics::dmaBytes {0} |
Total DMA bytes (drp_pgp_byte_rate).
| uint64_t Drp::Gpu::TrgInpGenMetrics::dmaSize {0} |
Size in bytes of the last DMA (drp_dma_size).
| uint64_t* Drp::Gpu::TrgInpGenMetrics::fwdWtCtr {nullptr} |
Buffers passed to the device-to-host queue (DRP_tigFwd).
| uint64_t Drp::Gpu::TrgInpGenMetrics::latency {0} |
TimingHeader latency in microseconds, updated when the pulse ID has advanced by more than 1300000/14 (about 10 Hz, per the code comment) (drp_th_latency).
| uint64_t Drp::Gpu::TrgInpGenMetrics::nDmaErrors {0} |
DMAs with error bits set in the descriptor header (drp_num_dma_errors).
| uint64_t Drp::Gpu::TrgInpGenMetrics::nDmaRet {0} |
Buffers accepted in the last pass of the receiver loop (drp_num_dma_ret).
| uint64_t Drp::Gpu::TrgInpGenMetrics::nEvents {0} |
Buffers accepted by the receiver thread (DRP_evtCtr and drp_event_rate).
| uint64_t Drp::Gpu::TrgInpGenMetrics::nHdrMismatch {0} |
Not used.
| uint64_t Drp::Gpu::TrgInpGenMetrics::nMissingRoGs {0} |
SlowUpdates missing readout groups of rogMask (drp_num_missing_rogs).
| uint64_t Drp::Gpu::TrgInpGenMetrics::nNoComRoG {0} |
Buffers without this DRP's readout group (drp_num_no_common_rog).
| uint64_t Drp::Gpu::TrgInpGenMetrics::nPgpJumps {0} |
Jumps in the TimingHeader event counter (drp_num_pgp_jump).
| uint64_t Drp::Gpu::TrgInpGenMetrics::nTmgHdrError {0} |
TimingHeaders with the error bit set (drp_num_th_error).
| uint64_t Drp::Gpu::TrgInpGenMetrics::pidWtCtr {0} |
Exported as DRP_pidWtCtr but never incremented.
| uint64_t Drp::Gpu::TrgInpGenMetrics::pndWtCtr {0} |
Buffers popped by the receiver thread (DRP_colRcv).
| uint64_t* Drp::Gpu::TrgInpGenMetrics::rcvWtCtr {nullptr} |
Buffers taken from the reader queues (DRP_tigRcv).
| uint64_t* Drp::Gpu::TrgInpGenMetrics::state {nullptr} |
Kernel state monitor (DRP_tigState).