r5sdk/r5dev/tier0/platform.cpp

20 lines
317 B
C++
Raw Normal View History

#include "core/stdafx.h"
#include "tier0/platform_internal.h"
double Plat_FloatTime()
{
return v_Plat_FloatTime();
}
uint64_t Plat_MSTime()
{
return v_Plat_MSTime();
}
const char* Plat_GetProcessUpTime()
{
static char szBuf[4096];
sprintf_s(szBuf, sizeof(szBuf), "[%.3f] ", Plat_FloatTime());
return szBuf;
}