MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / CProfileCallstack

Method CProfileCallstack

Source/Utility/Profiler.cpp:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53{
54public:
55 CProfileCallstack( const CProfileCallstack * parent, const std::vector< CProfileItem * > & items )
56 : mParent( parent )
57 , mItems( items )
58 , mHash( ComputeCallstackHash( items ) )
59 , mTotalTime( 0 )
60 , mStartTime( 0 )
61 , mHitCount( 0 )
62 {
63 }
64
65
66 CProfileItem * GetBack() const { return mItems.empty() ? NULL : mItems.back(); }

Callers

nothing calls this directly

Calls 1

ComputeCallstackHashFunction · 0.85

Tested by

no test coverage detected