![]() |
Project
|
Running state information of a given device. More...
#include <DeviceState.h>
Public Types | |
enum | LoopReason : int { NO_REASON = 0 , METRICS_MUST_FLUSH = 1 , SIGNAL_ARRIVED = 1 << 1 , DATA_SOCKET_POLLED = 1 << 2 , DATA_INCOMING = 1 << 3 , DATA_OUTGOING = 1 << 4 , WS_COMMUNICATION = 1 << 5 , TIMER_EXPIRED = 1 << 6 , WS_CONNECTED = 1 << 7 , WS_CLOSING = 1 << 8 , WS_READING = 1 << 9 , WS_WRITING = 1 << 10 , ASYNC_NOTIFICATION = 1 << 11 , OOB_ACTIVITY = 1 << 12 , UNKNOWN = 1 << 13 , FIRST_LOOP = 1 << 14 , NEW_STATE_PENDING = 1 << 15 , PREVIOUSLY_ACTIVE = 1 << 16 , TRACE_CALLBACKS = 1 << 17 , TRACE_USERCODE = 1 << 18 , DATA_CONNECTED = 1 << 19 } |
Motivation for the loop being triggered. More... | |
enum | LogStreams : int { NO_LOG = 0 , DEVICE_LOG = 1 << 0 , COMPLETION_LOG = 1 << 1 , MONITORING_SERVICE_LOG = 1 << 2 , DATA_PROCESSOR_CONTEXT_LOG = 1 << 3 , STREAM_CONTEXT_LOG = 1 << 4 } |
enum | ProcessingType : int { Any , CalibrationOnly } |
Running state information of a given device.
Definition at line 34 of file DeviceState.h.
Enumerator | |
---|---|
NO_LOG | |
DEVICE_LOG | |
COMPLETION_LOG | |
MONITORING_SERVICE_LOG | |
DATA_PROCESSOR_CONTEXT_LOG | |
STREAM_CONTEXT_LOG |
Definition at line 60 of file DeviceState.h.
Motivation for the loop being triggered.
Definition at line 36 of file DeviceState.h.
Enumerator | |
---|---|
Any | |
CalibrationOnly |
Definition at line 69 of file DeviceState.h.
std::vector<uv_poll_t*> o2::framework::DeviceState::activeInputPollers |
Definition at line 98 of file DeviceState.h.
std::vector<uv_poll_t*> o2::framework::DeviceState::activeOutOfBandPollers |
The list for active out-of-bound pollers.
Definition at line 104 of file DeviceState.h.
std::vector<uv_poll_t*> o2::framework::DeviceState::activeOutputPollers |
Definition at line 100 of file DeviceState.h.
std::vector<uv_signal_t*> o2::framework::DeviceState::activeSignals |
The list of active signal handlers.
Definition at line 102 of file DeviceState.h.
std::vector<uv_timer_t*> o2::framework::DeviceState::activeTimers |
Definition at line 94 of file DeviceState.h.
ProcessingType o2::framework::DeviceState::allowedProcessing = ProcessingType::Any |
Definition at line 79 of file DeviceState.h.
uv_async_t* o2::framework::DeviceState::awakeMainThread = nullptr |
Definition at line 106 of file DeviceState.h.
std::atomic<int64_t> o2::framework::DeviceState::cleanupCount = -1 |
Definition at line 82 of file DeviceState.h.
std::vector<uv_timer_t*> o2::framework::DeviceState::firedTimers |
Definition at line 96 of file DeviceState.h.
std::vector<InputChannelInfo> o2::framework::DeviceState::inputChannelInfos |
Definition at line 74 of file DeviceState.h.
std::atomic<DataProcessorContext*> o2::framework::DeviceState::lastActiveDataProcessor = nullptr |
Definition at line 125 of file DeviceState.h.
int o2::framework::DeviceState::logStreams = 0 |
Bitmask of log streams which are available.
Definition at line 116 of file DeviceState.h.
uv_loop_t* o2::framework::DeviceState::loop = nullptr |
Definition at line 92 of file DeviceState.h.
int o2::framework::DeviceState::loopReason = 0 |
Bitmask of LoopReason which caused this iterations.
Definition at line 112 of file DeviceState.h.
std::vector<std::string> o2::framework::DeviceState::nextFairMQState |
Definition at line 109 of file DeviceState.h.
std::vector<ComputingQuotaConsumer> o2::framework::DeviceState::offerConsumers |
ComputingQuotaOffers which should be removed from the queue.
Definition at line 89 of file DeviceState.h.
std::vector<ComputingQuotaOffer> o2::framework::DeviceState::pendingOffers |
ComputingQuotaOffers which have not yet been evaluated by the ComputingQuotaEvaluator
Definition at line 86 of file DeviceState.h.
bool o2::framework::DeviceState::quitRequested = false |
Definition at line 81 of file DeviceState.h.
std::vector<int> o2::framework::DeviceState::severityStack |
Stack of the severity, so that we can display only the bits we are interested in.
Definition at line 119 of file DeviceState.h.
StreamingState o2::framework::DeviceState::streaming = StreamingState::Streaming |
Definition at line 75 of file DeviceState.h.
int o2::framework::DeviceState::tracingFlags = 0 |
Bitmask of LoopReason to trace.
Definition at line 114 of file DeviceState.h.
TransitionHandlingState o2::framework::DeviceState::transitionHandling = TransitionHandlingState::NoTransition |
Definition at line 120 of file DeviceState.h.