does removing all logic in the udp receive thread help to improve the packet receive frequency?

This commit is contained in:
2025-11-07 16:14:05 +01:00
parent ba07a8af9b
commit c530de3566
2 changed files with 121 additions and 67 deletions

View File

@@ -118,6 +118,7 @@ class asynStreamGeneratorDriver : public asynPortDriver {
virtual asynStatus writeInt32(asynUser *pasynUser, epicsInt32 value);
void receiveUDP();
void normaliseUDP();
void partialSortEvents();
void processEvents();
void produceMonitor();
@@ -155,6 +156,7 @@ class asynStreamGeneratorDriver : public asynPortDriver {
const int udpQueueSize;
epicsRingBytesId udpQueue;
epicsRingBytesId normalisedQueue;
epicsRingBytesId sortedQueue;
epicsRingBytesId monitorQueue;