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