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

Function GetTimestamp

BeefySysLib/util/BeefPerf.cpp:353–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351#define BPCMD_END() BF_ASSERT(data == mOutBuffer.mPtr + mOutBuffer.mDataSize)
352
353static int64 GetTimestamp()
354{
355#ifdef BF_PLATFORM_WINDOWS
356 return __rdtsc() / 100;
357#else
358 return BfpSystem_GetCPUTick() / 100;
359#endif
360}
361
362#define MAX_DEPTH 8192
363

Callers 9

EnterMethod · 0.85
LeaveMethod · 0.85
EventMethod · 0.85
TickMethod · 0.85
KeepAliveMethod · 0.85
AddThreadMethod · 0.85
RemoveThreadMethod · 0.85
BpManagerMethod · 0.85
ThreadProcMethod · 0.85

Calls 1

BfpSystem_GetCPUTickFunction · 0.50

Tested by

no test coverage detected