|
Flow-IPC 3.0.0
Flow-IPC project: Public API.
|
Stats-related sub-namespace, for ADL segregation and general organization. More...
Classes | |
| struct | Arena_info_dump |
| Printable (with knobs in contained util::stat::Info_dump_format) bundling of stats/info pertaining to a particular SHM-classic Pool_arena, as stat-consumed at a particular point in time. More... | |
| struct | Arena_stats |
| Cumulative stats relevant to one SHM-classic arena – in this case single SHM-pool in shared memory, accessed via 1+ Pool_arena objects over time. More... | |
| struct | Local_stats |
| Cumulative stats relevant to a given SHM-classic arena object – a Pool_arena – and excluding those in Arena_stats which track the underlying in-SHM arena (pool) itself. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const Arena_info_dump &val) |
Prints string representation of the given Arena_info_dump to the given ostream. More... | |
| template<typename Visitor > | |
| 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. More... | |
| template<typename Visitor > | |
| void | declare_stats (const flow::util::stat::Stat_name &name_prefix, const Local_stats *src_stats, Local_stats *target_stats, Visitor &&visitor) |
| Declares the stats for Local_stats. More... | |
Stats-related sub-namespace, for ADL segregation and general organization.
| void ipc::shm::classic::stat::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.
Not invoked directly except by flow::util::stat internals, or when composing this stat-set into another.
flow::util::stat namespace doc header for background on the declare/visit mechanism.| Visitor | See above. |
| name_prefix | See above. |
| src_stats | See above. |
| target_stats | See above. |
| visitor | See above. |
| void ipc::shm::classic::stat::declare_stats | ( | const flow::util::stat::Stat_name & | name_prefix, |
| const Local_stats * | src_stats, | ||
| Local_stats * | target_stats, | ||
| Visitor && | visitor | ||
| ) |
Declares the stats for Local_stats.
Not invoked directly except by flow::util::stat internals, or when composing this stat-set into another.
flow::util::stat namespace doc header for background on the declare/visit mechanism.| Visitor | See above. |
| name_prefix | See above. |
| src_stats | See above. |
| target_stats | See above. |
| visitor | See above. |
| std::ostream & ipc::shm::classic::stat::operator<< | ( | std::ostream & | os, |
| const Arena_info_dump & | val | ||
| ) |
Prints string representation of the given Arena_info_dump to the given ostream.
val.m_fmt (util::stat::Info_dump_format) may contain knobs to affect the shape of the printed output.| os | Stream to which to write. |
| val | Object to serialize. |
os.