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

Method BpManager

BeefySysLib/util/BeefPerf.cpp:659–680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657}
658
659BpManager::BpManager() : mShutdownEvent(true), mTLSDtor(&FlsFreeFunc)
660{
661#ifdef BF_PLATFORM_WINDOWS
662 mMutex = NULL;
663 mSharedMemoryFile = NULL;
664#endif
665 mSocket = INVALID_SOCKET;
666 mConnectState = BpConnectState_NotConnected;
667 mThread = NULL;
668 mThreadId = 0;
669 mCurTick = 0;
670 mCurThreadId = 0;
671 mOutBlockSizeLeft = 0;
672 mPauseCount = 0;
673 mInitCount = 0;
674
675 mCollectData = false;
676 mThreadRunning = false;
677
678 mInitTimeStamp = GetTimestamp();
679 mInitTickCount = BFTickCount();
680}
681
682BpManager::~BpManager()
683{

Callers

nothing calls this directly

Calls 1

GetTimestampFunction · 0.85

Tested by

no test coverage detected