Search This Blog

Thursday, August 9, 2012

GetTickCount Linux Implantation


DWORD GetTickCount(void)
{
timespec time1;
clock_gettime(CLOCK_MONOTONIC, &time1);
return (time1.tv_sec * 1000) + (time1.tv_nsec/1000000);
}

No comments: