MCPcopy Create free account
hub / github.com/LUX-Core/lux / CallStack

Class CallStack

src/cryptopp/wait.h:124–134  ·  view source on GitHub ↗

! A simple unidirectional linked list with m_prev == 0 to indicate the final entry. The aim of this implementation is to provide a very lightweight and practical tracing mechanism with a low performance impact. Functions and methods supporting this call-stack mechanism would take a parameter of the form "CallStack const& callStack", and would pass this parameter to subsequent functions they

Source from the content-addressed store, hash-verified

122 involving no allocation from the heap, just a linked list of stack objects containing
123 pointers to static ASCIIZ strings (or possibly additional but simple data if derived). */
124class CallStack
125{
126public:
127 CallStack(char const* i, CallStack const* p) : m_info(i), m_prev(p) {}
128 CallStack const* Prev() const { return m_prev; }
129 virtual std::string Format() const;
130
131protected:
132 char const* m_info;
133 CallStack const* m_prev;
134};
135
136/*! An extended CallStack entry type with an additional numeric parameter. */
137class CallStackWithNr : public CallStack

Callers 11

SetNoWaitMethod · 0.70
ScheduleEventMethod · 0.70
AddHandleMethod · 0.70
ForwardTcpPortFunction · 0.70
GetWaitObjectsMethod · 0.70
GetWaitObjectsMethod · 0.70
GeneralPump2Method · 0.70
TimedFlushMethod · 0.70
DoPumpMethod · 0.70
DoFlushMethod · 0.70
GetWaitObjectsMethod · 0.70

Calls

no outgoing calls

Tested by 1

ForwardTcpPortFunction · 0.56