__gnu_profile::__stack_hash(3cxx)

πŸ“¦
version 9.5.0 Β· 3 versions
, in ubuntu noble

✨ NAME ✨

__gnu_profile::__stack_hash β€” bestie, it's literally a hash function for the summary trace that uses the call stack as its index πŸ’…


🌸 SYNOPSIS 🌸

#include <profiler_node.h>

πŸŽ€ Public Member Functions

std::size_t operator() (__stack_t __s) const
bool operator() (__stack_t __stack1, __stack_t __stack2) const

πŸ’– Detailed Description πŸ’–

Okay so __stack_hash is a hash function for the summary trace, and it uses the call stack as its index. That's the whole vibe. πŸ¦‹

It's defined at line 93 of the file profiler_node.h. Noted. Documented. Iconic.


🫢 Member Function Documentation 🫢

⭐ std::size_t __gnu_profile::__stack_hash::operator() (__stack_t __s) const

[inline] ✨

Defined at line 97 of the file profiler_node.h.

🌈 bool __gnu_profile::__stack_hash::operator() (__stack_t __stack1, __stack_t __stack2) const

[inline] ✨

Defined at line 109 of the file profiler_node.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. No cap, the robots did this one. πŸ€–πŸ’•


lowkey the most important part: every single one of those two operator() overloads is inline, and they live at lines 97 and 109 respectively. Don't forget it, bestie. πŸ™ˆ

okay that's the whole page, mwah πŸ’‹ β€” this was libstdc++, and the header's manual name is __gnu_profile::__stack_hash(3cxx), slay βœ¨πŸŽ€ (no date on this one, fr fr, but you already knew that πŸ«ΆπŸ’–)

πŸ“¦ where this page comes from