#include #include #include #include #define nul '\0' #define null 0 typedef struct { int lower; int upper; } longlong; extern void cpuid(int op, int *ax, int *bx, int *cx, int *dx); extern longlong rdtsc(); int main(int argc, char *argv[]) { int ax, bx, cx, dx; longlong ll; fprintf(stderr, "testing cpuid() ... "); cpuid(0, &ax, &bx, &cx, &dx); fprintf(stderr, "ok.\n"); fprintf(stderr, "testing rdtsc() ... "); ll = rdtsc(); fprintf(stderr, "ok.\n"); return 0; } /* the end of file */