MCPcopy Create free account
hub / github.com/beefytech/Beef / Leave

Method Leave

BeefySysLib/util/BeefPerf.cpp:518–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516}
517
518void BpCmdTarget::Leave()
519{
520 BPCMD_PREPARE;
521
522 if (mCurDepth <= 0)
523 {
524 // This is either due to improperly balanced Enter/Leaves or from a Reconnnect
525 BF_ASSERT(BpManager::Get()->mInitCount > 1);
526 return;
527 }
528
529 BPCMD_RESERVE(1 + 8);
530 BPCMD_MEMBER(uint8) = BpCmd_Leave;
531 BPCMD_MEMBER(int64) = GetTimestamp();
532 BPCMD_END();
533
534 mCurDepth--;
535}
536
537void BpCmdTarget::Event(const char* name, const char* details)
538{

Callers 9

DeleteArenaMethod · 0.45
FreeMethod · 0.45
DoAllocWithArenaFunction · 0.45
~BpAutoZoneFunction · 0.45
~BpAutoZoneFMethod · 0.45
BpLeaveFunction · 0.45
DeleteArenaMethod · 0.45
FreeMethod · 0.45
DoAllocWithArenaFunction · 0.45

Calls 2

GetFunction · 0.85
GetTimestampFunction · 0.85

Tested by

no test coverage detected