Files
Ciro Santilli 六四事件 法轮功 0ef494b681 migrate all
2019-05-05 00:00:00 +00:00

15 lines
265 B
C

/* https://github.com/cirosantilli/linux-kernel-module-cheat#rdtsc */
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <x86intrin.h>
int main(void) {
uintmax_t val;
val = __rdtsc();
printf("%ju\n", val);
return EXIT_SUCCESS;
}