Flow-IPC 3.0.0
Flow-IPC project: Full implementation reference.
Namespaces | Functions
stat_substrate.hpp File Reference
#include "ipc/shm/arena_lend/jemalloc/detail/jemalloc_fwd.hpp"
#include "ipc/shm/arena_lend/jemalloc/detail/jemalloc.hpp"
#include <jemalloc/jemalloc.h>
#include <cstddef>

Go to the source code of this file.

Namespaces

namespace  ipc
 Catch-all namespace for the Flow-IPC project: A library/API in modern C++17 providing high-performance communication between processes.
 
namespace  ipc::shm
 Modules for SHared Memory (SHM) support.
 
namespace  ipc::shm::arena_lend
 ipc::shm sub-module providing the SHM-provider family based on the arena-lending paradigm: each process allocates in its own arena(s), lending the resulting objects to other processes, which can read them but not allocate (nor deallocate) in that arena.
 
namespace  ipc::shm::arena_lend::jemalloc
 ipc::shm sub-module with the SHM-jemalloc SHM-provider. See ipc::shm doc header for introduction.
 
namespace  ipc::shm::arena_lend::jemalloc::detail
 SHM-jemalloc internal (non-public) implementation details. See also stat-oriented sub-namespace: detail::stat.
 
namespace  ipc::shm::arena_lend::jemalloc::detail::stat
 Stats-related sub-namespace within SHM-jemalloc's detail, for general organization (and ADL segregation if needed).
 

Functions

template<typename T >
int ipc::shm::arena_lend::jemalloc::detail::stat::mallctl_read (const char *name, T *val)
 Reads a single scalar mallctl value, by name, into *val (using sizeof(T) as the value size). More...
 
template<typename T >
int ipc::shm::arena_lend::jemalloc::detail::stat::mallctl_read_mib (const size_t *mib, size_t mib_len, T *val)
 Like mallctl_read() but addresses the value by a previously-resolved MIB (see mallctl_name_to_mib()) rather than by name; this is the efficient path for repeated/indexed reads. More...