Add monitoring thread
The goal is to add a monitoring thread to Allen to produce histograms of the HLT1 rates (see https://gitlab.cern.ch/lhcb-parallelization/Allen/issues/102 and https://gitlab.cern.ch/lhcb-parallelization/Allen/issues/103).
The current version addresses https://gitlab.cern.ch/lhcb-parallelization/Allen/issues/102:
-
HostBuffers
managed by aHostBuffersManager
class - Indices passed to GPU threads for use by
Stream
-
HostBuffersManager
keepsqueue
s ofEmpty
andFilled
HostBuffers
to be passed to GPU and monitoring threads, respectively
Currently there is no monitoring thread so Filled
HostBuffers
are not being processed and emptied
Edited by Daniel Charles Craik