1 /* This should define all the common routines etc exported by the 2 various netcpu_mumble.c files raj 2005-01-26 */ 3 4 extern void cpu_util_init(void); 5 extern void cpu_util_terminate(void); 6 extern int get_cpu_method(); 7 8 #ifdef WIN32 9 /* +*+ temp until I figure out what header this is in; I know it's 10 there someplace... */ 11 typedef unsigned __int64 uint64_t; 12 #endif 13 14 extern void get_cpu_idle(uint64_t *res); 15 extern float calibrate_idle_rate(int iterations, int interval); 16 extern float calc_cpu_util_internal(float elapsed); 17 extern void cpu_start_internal(void); 18 extern void cpu_stop_internal(void); 19 20