__gnu_profile::...ainer_size_info(3cxx)
πΈ NAME πΈ
__gnu_profile::__container_size_info β bestie, it's a container size instrumentation line in the object table π
This one lives in the 3cxx manual, and yes she's a whole C++ thing, no cap.
β¨ SYNOPSIS β¨
#include <profiler_container_size.h>
Inherits __gnu_profile::__object_info_base. It's giving nepo baby but make it inheritance π
Inherited by __gnu_profile::__container_size_stack_info. So she's both a daughter and a mother, iconic family tree honestly π«Ά
π Public Member Functions
__container_size_info (__stack_t __stack)β the constructor, she's born β¨std::string __advice () constβ hands you some advice as astd::stringvoid __destruct (std::size_t __num, std::size_t __inum)β the destruct side of the storyvoid __init (std::size_t __num)β initialise it, get her readybool __is_valid () constβ vibe check, returns whether she's validfloat __magnitude () constβ magnitude, as afloatvoid __merge (const __container_size_info &__o)β merge with another__container_size_infovoid __merge (const __object_info_base &__o)β merge with an__object_info_baseinsteadvoid __resize (std::size_t __from, std::size_t __to)β log a resize from one size to anotherfloat __resize_cost (std::size_t __from, std::size_t)β the cost of that resize, as afloatvoid __set_invalid ()β mark her invalid, not the vibe but okay π__stack_t __stack () constβ gimme the stackvoid __write (FILE *__f) constβ write it all out to aFILE *
π Protected Attributes
__stack_t _M_stackβ the stack, protected, lowkey private business πbool _M_validβ the valid flag, also protected
π¦ Detailed Description π¦
A container size instrumentation line in the object table. That's the whole assignment, periodt.
Definition at line 42 of file profiler_container_size.h.
π Constructor & Destructor Documentation π
__gnu_profile::__container_size_info::__container_size_info (__stack_t __stack) [inline]
The glow-up origin story. Takes a __stack_t __stack and that's it.
Definition at line 46 of file profiler_container_size.h.
π Member Function Documentation π
std::string __gnu_profile::__container_size_info::__advice () const [inline]
Returns her advice as a std::string.
Definition at line 65 of file profiler_container_size.h.
void __gnu_profile::__container_size_info::__destruct (std::size_t __num, std::size_t __inum) [inline]
Destruct behaviour, taking __num and __inum.
Definition at line 99 of file profiler_container_size.h.
void __gnu_profile::__container_size_info::__init (std::size_t __num) [inline]
Init, with __num.
Definition at line 75 of file profiler_container_size.h.
bool __gnu_profile::__object_info_base::__is_valid () const [inline], [inherited]
The validity check, and bestie she's inherited from __object_info_base.
Definition at line 134 of file profiler_node.h.
float __gnu_profile::__container_size_info::__magnitude () const [inline]
Magnitude, returned as a float.
Definition at line 61 of file profiler_container_size.h.
void __gnu_profile::__container_size_info::__merge (const __container_size_info & __o) [inline]
Merge with another __container_size_info (that's __o).
Definition at line 82 of file profiler_container_size.h.
void __gnu_profile::__object_info_base::__merge (const __object_info_base & __o) [inline], [inherited]
Merge with an __object_info_base this time, also inherited.
Definition at line 142 of file profiler_node.h.
void __gnu_profile::__container_size_info::__resize (std::size_t __from, std::size_t __to) [inline]
Resize from __from to __to.
Definition at line 126 of file profiler_container_size.h.
float __gnu_profile::__container_size_info::__resize_cost (std::size_t __from, std::size_t) [inline]
The cost of a resize, __from plus an unnamed std::size_t, returns a float.
Definition at line 121 of file profiler_container_size.h.
void __gnu_profile::__object_info_base::__set_invalid () [inline], [inherited]
Marks it invalid. Inherited, obviously π
Definition at line 138 of file profiler_node.h.
__stack_t __gnu_profile::__object_info_base::__stack () const [inline], [inherited]
Hands you the stack as an __stack_t. Inherited once again.
Definition at line 146 of file profiler_node.h.
void __gnu_profile::__container_size_info::__write (FILE * __f) const [inline]
Writes everything out to the FILE * __f.
Definition at line 53 of file profiler_container_size.h.
π Member Data Documentation π
__stack_t __gnu_profile::__object_info_base::_M_stack [protected], [inherited]
The stack member. Protected, and inherited from __object_info_base.
Definition at line 150 of file profiler_node.h.
bool __gnu_profile::__object_info_base::_M_valid [protected], [inherited]
The valid flag. Protected, and also inherited.
Definition at line 151 of file profiler_node.h.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. No human wrote this, a robot did, and honestly? Slay, robot π€β¨
Okay so that's the whole page, bestie. This one's from the libstdc++ crew, living in the 3cxx manual, and it was generated automatically by Doxygen straight from the source code. Nothing invented, nothing skipped, every line number accounted for π Go forth and instrument those containers, you absolute icon π
π¦ where this page comes from
- ubuntu noble: libstdc++-9-doc 9.5.0-6ubuntu2
- ubuntu noble: libstdc++-9-doc 9.5.0-6ubuntu2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms