blob: 58d1e1c3f04aa651ae15b98e04970c47ca5e2777 [file] [log] [blame]
The Android Open Source Project02fb0ac2009-03-03 19:30:07 -08001/* This should define all the common routines etc exported by the
2 various netcpu_mumble.c files raj 2005-01-26 */
3
4extern void cpu_util_init(void);
5extern void cpu_util_terminate(void);
6extern 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... */
11typedef unsigned __int64 uint64_t;
12#endif
13
14extern void get_cpu_idle(uint64_t *res);
15extern float calibrate_idle_rate(int iterations, int interval);
16extern float calc_cpu_util_internal(float elapsed);
17extern void cpu_start_internal(void);
18extern void cpu_stop_internal(void);
19