37 #pragma comment(lib, "Winmm.lib") 39 namespace rp{
namespace arch{
45 BOOL ans=QueryPerformanceFrequency(&_current_freq);
46 _current_freq.QuadPart/=1000;
51 LARGE_INTEGER current;
52 QueryPerformanceCounter(¤t);
54 return (
_u32)(current.QuadPart/_current_freq.QuadPart);
BEGIN_STATIC_CODE(timer_cailb)
static LARGE_INTEGER _current_freq
#define END_STATIC_CODE(_blockname_)