libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
From the detected NUMA layout, assign cores to the logical threads in the FIX-to-exchange translator. More...
#include <thread_traits.hpp>
Classes | |
struct | thread_info |
Public Types | |
using | api_threading_traits = ppd::api_threading_traits< ppd::platform_api, ppd::heavyweight_threading > |
using | api_threading_traits = libjmmcg::ppd::api_threading_traits< libjmmcg::ppd::platform_api, libjmmcg::ppd::heavyweight_threading > |
using | api_threading_traits = ppd::api_threading_traits< ppd::platform_api, ppd::heavyweight_threading > |
Static Public Attributes | |
static constexpr auto | exchange_simulator_thread |
static constexpr auto | numa_index =(libjmmcg::ppd::numa_cpu_traits::is_numa ? libjmmcg::ppd::numa_cpu_traits::node_mapping.max_size()-1 : 0) |
The numa-node upon which the code is compiled to run optimally. More... | |
static constexpr auto | max_threads_on_node =libjmmcg::ppd::numa_cpu_traits::node_mapping[numa_index].max_size() |
static constexpr auto | main_thread |
static constexpr auto | heartbeat_thread |
static constexpr auto | exchange_to_client_thread |
static constexpr auto | client_to_exchange_thread |
From the detected NUMA layout, assign cores to the logical threads in the FIX-to-exchange translator.
Definition at line 36 of file socket_server.cpp.
using isimud::ISIMUD_VER_NAMESPACE::exchanges::common::thread_traits::api_threading_traits = ppd::api_threading_traits<ppd::platform_api, ppd::heavyweight_threading> |
Definition at line 37 of file socket_server.cpp.
using isimud::ISIMUD_VER_NAMESPACE::exchanges::common::thread_traits::api_threading_traits = ppd::api_threading_traits<ppd::platform_api, ppd::heavyweight_threading> |
Definition at line 37 of file socket_server.cpp.
using isimud::ISIMUD_VER_NAMESPACE::exchanges::common::thread_traits::api_threading_traits = libjmmcg::ppd::api_threading_traits<libjmmcg::ppd::platform_api, libjmmcg::ppd::heavyweight_threading> |
Definition at line 30 of file thread_traits.hpp.
|
inlinestaticconstexpr |
Definition at line 62 of file thread_traits.hpp.
Referenced by BOOST_AUTO_TEST_CASE_TEMPLATE(), and main().
|
inlinestaticconstexpr |
Definition at line 43 of file socket_server.cpp.
Referenced by BOOST_AUTO_TEST_CASE_TEMPLATE(), and jmmcg::LIBJMMCG_VER_NAMESPACE::socket::svr< ProcessingRules, SvrMgr >::main().
|
inlinestaticconstexpr |
Definition at line 58 of file thread_traits.hpp.
Referenced by isimud::ISIMUD_VER_NAMESPACE::exchanges::common::exchange_to_client_processor< ClientCxnPtr, EchgCxn >::exchange_to_client_processor().
|
inlinestaticconstexpr |
Definition at line 54 of file thread_traits.hpp.
Referenced by isimud::ISIMUD_VER_NAMESPACE::exchanges::common::server_hb_t< MsgT, MissedHbs, HbInterval >::server_hb_t().
|
inlinestaticconstexpr |
Put this well out of the way of anything important.
Definition at line 50 of file thread_traits.hpp.
Referenced by isimud::ISIMUD_VER_NAMESPACE::exchanges::fix_to_link::main().
|
inlinestaticconstexpr |
Definition at line 45 of file thread_traits.hpp.
|
inlinestaticconstexpr |
The numa-node upon which the code is compiled to run optimally.
This value should be the same as that used by numactl in the start-script (e.g. "start_all_links.sh"), otherwise the code will run on the wrong processor. (One can determine which node the code has been compiled for by running the executable with the "--help" option.)
Definition at line 44 of file thread_traits.hpp.
Referenced by isimud::ISIMUD_VER_NAMESPACE::exchanges::create_program_options().