30 explicit ShmConf(
const uint64_t& real_msg_size);
33 void Update(
const uint64_t& real_msg_size);
45 uint64_t GetCeilingMessageSize(
const uint64_t& real_msg_size);
49 uint64_t ceiling_msg_size_;
50 uint64_t block_buf_size_;
52 uint64_t managed_shm_size_;
55 static const uint64_t EXTRA_SIZE;
57 static const uint64_t STATE_SIZE;
59 static const uint64_t BLOCK_SIZE;
61 static const uint64_t MESSAGE_INFO_SIZE;
63 static const uint32_t BLOCK_NUM_16K;
64 static const uint64_t MESSAGE_SIZE_16K;
66 static const uint32_t BLOCK_NUM_128K;
67 static const uint64_t MESSAGE_SIZE_128K;
69 static const uint32_t BLOCK_NUM_1M;
70 static const uint64_t MESSAGE_SIZE_1M;
72 static const uint32_t BLOCK_NUM_8M;
73 static const uint64_t MESSAGE_SIZE_8M;
75 static const uint32_t BLOCK_NUM_16M;
76 static const uint64_t MESSAGE_SIZE_16M;
78 static const uint32_t BLOCK_NUM_MORE;
79 static const uint64_t MESSAGE_SIZE_MORE;