libjmmcg
build_2783
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 |
Static Public Attributes | |
static constexpr auto | exchange_simulator_thread |
static constexpr auto | numa_index =static_cast<unsigned short>(jmmcg::ppd::numa_cpu_traits::is_numa) |
The numa-node upon which the code is compiled to run optimally. More... | |
static constexpr auto | max_threads_on_node =jmmcg::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 34 of file socket_server.cpp.
using isimud::exchanges::common::thread_traits::api_threading_traits = jmmcg::ppd::api_threading_traits<jmmcg::ppd::generic_traits::api_type::posix_pthreads, jmmcg::ppd::heavyweight_threading> |
Definition at line 35 of file socket_server.cpp.
using isimud::exchanges::common::thread_traits::api_threading_traits = jmmcg::ppd::api_threading_traits<jmmcg::ppd::generic_traits::api_type::posix_pthreads, jmmcg::ppd::heavyweight_threading> |
Definition at line 99 of file thread_traits.hpp.
|
inlinestaticconstexpr |
Definition at line 131 of file thread_traits.hpp.
|
inlinestaticconstexpr |
Definition at line 41 of file socket_server.cpp.
|
inlinestaticconstexpr |
Definition at line 127 of file thread_traits.hpp.
|
inlinestaticconstexpr |
Definition at line 123 of file thread_traits.hpp.
|
inlinestaticconstexpr |
Put this well out of the way of anything important.
Definition at line 119 of file thread_traits.hpp.
|
inlinestaticconstexpr |
Definition at line 114 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 113 of file thread_traits.hpp.