www.pudn.com > xiaobo.zip.zip > wt_tsc.h
#ifndef TSC_H #define TSC_H /** <> I'm too lazy to read CPUID , I'm afraid this must be hard-coded **/ #define PENTIUM /** have you got a Pentium ? ***/ #define CPU_MHZ 300 /** how big is your crystal ? **/ /** <> **/ #include#include extern void startTSC(void); extern double diffTSC(void); // in seconds extern void printTSC(double tsc, FILE *outF); #endif