mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
shm: optimize monitor heartbeats
This commit is contained in:
@@ -124,6 +124,15 @@ struct EventCounter
|
||||
std::atomic<uint64_t> fCount;
|
||||
};
|
||||
|
||||
struct Heartbeat
|
||||
{
|
||||
Heartbeat(uint64_t c)
|
||||
: fCount(c)
|
||||
{}
|
||||
|
||||
std::atomic<uint64_t> fCount;
|
||||
};
|
||||
|
||||
struct RegionCounter
|
||||
{
|
||||
RegionCounter(uint16_t c)
|
||||
|
Reference in New Issue
Block a user