Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static suseconds_t get_ticks ()
- {
- struct timeval tmp;
- gettimeofday ( & tmp, NULL );
- return tmp . tv_usec + (tmp.tv_sec * USEC_IN_SEC);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement