Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static inline long unsigned int rdtsc(void) /// simply gets the processor tick count since the machine was turned on
- { /// it resets every 50 years, so im not too worried about it lol
- long unsigned int x;
- asm volatile ("rdtsc" : "=A" (x));
- return x;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement