EPAM B2BITS CME MDP Handler C++
5.4.2
|
Market data service thread options. More...
#include <B2BITS_CmeMdpMarketDataService.h>
Public Member Functions | |
MarketDataServiceThreadOptions () | |
Public Attributes | |
bool | threadPoolEnabled_ |
u32 | threadPoolSize_ |
Number of shared threads in the pool. More... | |
bool | spinningEnabled_ |
Defines whether to use spinning to reduce latency at the cost of CPU load. More... | |
u64 | affinityMask_ |
ThreadPriority | priority_ |
Defines thread priority. More... | |
u32 | dblBFeedThreadCount_ |
Number of threads to process data from Feed-B, if socket type is Myricom DBL and threadPoolEnabled_ is ON. More... | |
bool | dblSpinningInOneThread_ |
Market data service thread options.
|
inline |
u64 Cme::Mdp::MarketDataServiceThreadOptions::affinityMask_ |
Bitwise mask of CPUs to bind threads to. 0 indicates no thread binding.
u32 Cme::Mdp::MarketDataServiceThreadOptions::dblBFeedThreadCount_ |
Number of threads to process data from Feed-B, if socket type is Myricom DBL and threadPoolEnabled_ is ON.
bool Cme::Mdp::MarketDataServiceThreadOptions::dblSpinningInOneThread_ |
Limits access to DBL device only to one thread at time. Usefull if:
ThreadPriority Cme::Mdp::MarketDataServiceThreadOptions::priority_ |
Defines thread priority.
bool Cme::Mdp::MarketDataServiceThreadOptions::spinningEnabled_ |
Defines whether to use spinning to reduce latency at the cost of CPU load.
bool Cme::Mdp::MarketDataServiceThreadOptions::threadPoolEnabled_ |
Defines whether to use a pool of shared threads for all connections or use a dedicated thread for each connection.
u32 Cme::Mdp::MarketDataServiceThreadOptions::threadPoolSize_ |
Number of shared threads in the pool.