|
libfoedus-core
FOEDUS Core Library
|
Analogous to one thread-group/socket/node. More...
Analogous to one thread-group/socket/node.
Definition at line 206 of file xct_mcs_adapter_impl.hpp.
#include <xct_mcs_adapter_impl.hpp>

Public Member Functions | |
| void | init (storage::StorageId dummy_storage_id, uint16_t node_id, uint32_t threads_per_node, uint32_t max_block_count, uint32_t pages_per_node) |
Public Attributes | |
| uint16_t | node_id_ |
| uint32_t | max_block_count_ |
| std::vector< McsMockThread< RW_BLOCK > > | threads_ |
| McsMockDataPage * | pages_ |
| Locks assigned to this node are stored in these memory. More... | |
| memory::AlignedMemory | page_memory_ |
|
inline |
Definition at line 207 of file xct_mcs_adapter_impl.hpp.
References foedus::memory::AlignedMemory::alloc_onnode(), ASSERT_ND, foedus::memory::AlignedMemory::get_block(), foedus::xct::McsMockDataPage::init(), foedus::memory::AlignedMemory::is_null(), foedus::xct::McsMockNode< RW_BLOCK >::max_block_count_, foedus::xct::McsMockNode< RW_BLOCK >::node_id_, foedus::xct::McsMockNode< RW_BLOCK >::page_memory_, foedus::xct::McsMockNode< RW_BLOCK >::pages_, and foedus::xct::McsMockNode< RW_BLOCK >::threads_.

| uint32_t foedus::xct::McsMockNode< RW_BLOCK >::max_block_count_ |
Definition at line 232 of file xct_mcs_adapter_impl.hpp.
Referenced by foedus::xct::McsMockNode< RW_BLOCK >::init().
| uint16_t foedus::xct::McsMockNode< RW_BLOCK >::node_id_ |
Definition at line 231 of file xct_mcs_adapter_impl.hpp.
Referenced by foedus::xct::McsMockNode< RW_BLOCK >::init().
| memory::AlignedMemory foedus::xct::McsMockNode< RW_BLOCK >::page_memory_ |
Definition at line 239 of file xct_mcs_adapter_impl.hpp.
Referenced by foedus::xct::McsMockNode< RW_BLOCK >::init().
| McsMockDataPage* foedus::xct::McsMockNode< RW_BLOCK >::pages_ |
Locks assigned to this node are stored in these memory.
Definition at line 238 of file xct_mcs_adapter_impl.hpp.
Referenced by foedus::xct::McsMockNode< RW_BLOCK >::init().
| std::vector< McsMockThread<RW_BLOCK> > foedus::xct::McsMockNode< RW_BLOCK >::threads_ |
Definition at line 233 of file xct_mcs_adapter_impl.hpp.
Referenced by foedus::xct::McsMockNode< RW_BLOCK >::init().