1 2 3 4 5 6 7
#include <time.h> #include "timer.h" adr_u64 GetNow() { return adr_u64(1000000) * clock() / CLOCKS_PER_SEC; }