00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _cpuinfo_h_
00023 #define _cpuinfo_h_
00024
00025 struct SensorModul;
00026
00027 void initCpuInfo(struct SensorModul* sm);
00028 void exitCpuInfo(void);
00029
00030 int updateCpuInfo(void);
00031
00032 void printCPUUser(const char* cmd);
00033 void printCPUUserInfo(const char* cmd);
00034 void printCPUNice(const char* cmd);
00035 void printCPUNiceInfo(const char* cmd);
00036 void printCPUSys(const char* cmd);
00037 void printCPUSysInfo(const char* cmd);
00038 void printCPUIdle(const char* cmd);
00039 void printCPUIdleInfo(const char* cmd);
00040 void printCPUxUser(const char* cmd);
00041 void printCPUxUserInfo(const char* cmd);
00042 void printCPUxNice(const char* cmd);
00043 void printCPUxNiceInfo(const char* cmd);
00044 void printCPUxSys(const char* cmd);
00045 void printCPUxSysInfo(const char* cmd);
00046 void printCPUxIdle(const char* cmd);
00047 void printCPUxIdleInfo(const char* cmd);
00048
00049 #endif