• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 char   netcpu_none_id[]="\
2 @(#)netcpu_none.c (c) Copyright 2005-2012 Hewlett-Packard Company, Version 2.6.0";
3 
4 #if HAVE_CONFIG_H
5 # include <config.h>
6 #endif
7 
8 #include <stdio.h>
9 
10 #if HAVE_INTTYPES_H
11 # include <inttypes.h>
12 #else
13 # if HAVE_STDINT_H
14 #  include <stdint.h>
15 # endif
16 #endif
17 
18 #include "netsh.h"
19 #include "netlib.h"
20 
21 void
cpu_util_init(void)22 cpu_util_init(void)
23 {
24   return;
25 }
26 
27 void
cpu_util_terminate(void)28 cpu_util_terminate(void)
29 {
30   return;
31 }
32 
33 int
get_cpu_method(void)34 get_cpu_method(void)
35 {
36   return CPU_UNKNOWN;
37 }
38 
39 float
calibrate_idle_rate(int iterations,int interval)40 calibrate_idle_rate(int iterations, int interval)
41 {
42   return 0.0;
43 }
44 
45 float
calc_cpu_util_internal(float elapsed_time)46 calc_cpu_util_internal(float elapsed_time)
47 {
48   return -1.0;
49 }
50 
51 void
cpu_start_internal(void)52 cpu_start_internal(void)
53 {
54   return;
55 }
56 
57 void
cpu_stop_internal(void)58 cpu_stop_internal(void)
59 {
60   return;
61 }
62