24#include <flow/util/stat/stat_set.hpp>
163template<
typename Visitor>
183 using flow::util::stat::Stat_name;
185 const Stat_name obj_prefix{name_prefix,
"obj."};
187 src_stats ? &src_stats->
m_live_obj :
nullptr, target_stats ? &target_stats->
m_live_obj :
nullptr,
190 src_stats ? &src_stats->
m_obj :
nullptr, target_stats ? &target_stats->
m_obj :
nullptr,
194template<
typename Visitor>
204 using flow::util::stat::Stat_name;
206 const Stat_name obj_prefix{name_prefix,
"obj."};
208 (Stat_name{obj_prefix,
"own."},
209 src_stats ? &src_stats->
m_owner_obj :
nullptr, target_stats ? &target_stats->
m_owner_obj :
nullptr, visitor);
211 (Stat_name{obj_prefix,
"lnd."},
214 (Stat_name{obj_prefix,
"brw."},
Stats-related sub-namespace, for ADL segregation and general organization.
void declare_stats(const flow::util::stat::Stat_name &name_prefix, const Arena_stats *src_stats, Arena_stats *target_stats, Visitor &&visitor)
Declares the stats for Arena_stats.
Printable (with knobs in contained util::stat::Info_dump_format) bundling of stats/info pertaining to...
Arena_stats m_arena_stats
The source Pool_arena's (shared, in-SHM) arena stats from: Pool_arena::arena_stats(); meaningless/ign...
size_t m_arena_sz_or_0
The source Pool_arena's Pool_arena::arena_size(); 0 if and only if that Pool_arena was invalid (its c...
Local_stats m_local_stats
The source Pool_arena object's stats from: Pool_arena::local_stats(); meaningless/ignorable if m_aren...
size_t m_arena_stat_free_sz
The source Pool_arena's Pool_arena::arena_stat_free_size(); meaningless/ignorable if m_arena_sz_or_0 ...
util::stat::Info_dump_format m_fmt
Print-format knobs in effect at ostream << *this time.
Cumulative stats relevant to one SHM-classic arena – in this case single SHM-pool in shared memory,...
shm::stat::Live_obj_stats m_live_obj
Sub-struct with individual stats; see type's doc header.
shm::stat::Shared_arena_obj_stats m_obj
Sub-struct with individual stats; see type's doc header.
Cumulative stats relevant to a given SHM-classic arena object – a Pool_arena – and excluding those in...
shm::stat::Borrower_obj_stats m_borrower_obj
Sub-struct with individual stats; see type's doc header.
shm::stat::Owner_obj_stats m_owner_obj
Sub-struct with individual stats; see type's doc header.
shm::stat::Lender_obj_stats m_lender_obj
Sub-struct with individual stats; see type's doc header.
Flow-IPC SHM-module: SHM-provider-agnostic stats about borrowing objects, typically across a process ...
Flow-IPC SHM-module: SHM-provider-agnostic stats about an arena if viewed as being capable or lending...
Stats struct thematically relevant to gauging outstanding (not-yet-garbage-collected) first-class obj...
Flow-IPC SHM-module: SHM-provider-agnostic stats about an arena object if viewed as solely a memory-m...
Stats struct tracking quantities applicable only to the arena-sharing SHM-provider type (at least SHM...