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

Method AddThread

BeefySysLib/util/BeefPerf.cpp:583–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583void BpRootCmdTarget::AddThread(int threadId, BfpThreadId nativeThreadId)
584{
585 BPCMD_PREPARE;
586
587 BPCMD_RESERVE(1 + 8 + 4 + 4);
588 BPCMD_MEMBER(uint8) = BpCmd_ThreadAdd;
589 BPCMD_MEMBER(int64) = GetTimestamp();
590 BPCMD_MEMBER(int32) = threadId;
591 BPCMD_MEMBER(int32) = (int32)nativeThreadId;
592 BPCMD_END();
593}
594
595BpThreadInfo::BpThreadInfo()
596{

Callers 2

SlowGetCurThreadInfoMethod · 0.80
InitMethod · 0.80

Calls 1

GetTimestampFunction · 0.85

Tested by

no test coverage detected