diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2006-03-04 18:16:49 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2006-03-04 18:16:49 +0000 |
commit | d6231bab89d634da5564491196b7c478db038505 (patch) | |
tree | bfc0bf00b138763eb41132fd27a8f389a78bf3a4 /CPUMeter.h |
Initial import.
Diffstat (limited to 'CPUMeter.h')
-rw-r--r-- | CPUMeter.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/CPUMeter.h b/CPUMeter.h new file mode 100644 index 00000000..22589dc0 --- /dev/null +++ b/CPUMeter.h @@ -0,0 +1,41 @@ +/* Do not edit this file. It was automatically genarated. */ + +#ifndef HEADER_CPUMeter +#define HEADER_CPUMeter +/* +htop +(C) 2004-2006 Hisham H. Muhammad +Released under the GNU GPL, see the COPYING file +in the source distribution for its full text. +*/ + +#include "Meter.h" + +#include "ProcessList.h" + +#include <stdlib.h> +#include <curses.h> +#include <string.h> +#include <math.h> +#include <sys/param.h> + +#include "debug.h" +#include <assert.h> + + +typedef struct CPUMeter_ CPUMeter; + +struct CPUMeter_ { + Meter super; + ProcessList* pl; + int processor; +}; + + +CPUMeter* CPUMeter_new(ProcessList* pl, int processor); + +void CPUMeter_setValues(Meter* cast); + +void CPUMeter_display(Object* cast, RichString* out); + +#endif |