xosview  1.23
About: xosview is an X Windows based system monitor (cpu, memory, swap and network usage; interrupt and serial activities; load average).
  Fossies Dox: xosview-1.23.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

gfxmeter.h
Go to the documentation of this file.
1 //
2 // Initial port performed by Stefan Eilemann (eilemann@gmail.com)
3 //
4 
5 #ifndef _GFXMETER_H_
6 #define _GFXMETER_H_
7 
8 #include "sarmeter.h"
9 
10 #include <rpcsvc/rstat.h>
11 
12 class GfxMeter : public FieldMeterGraph
13 {
14 public:
15  GfxMeter(XOSView *parent, int max);
16  ~GfxMeter(void);
17 
18  const char *name(void) const { return "GfxMeter"; }
19  void checkevent(void);
20 
21  void checkResources(void);
22 
23  static int nPipes( void );
24 protected:
25  void getgfxinfo(void);
26 
28 
29 private:
31  int _nPipes;
32 };
33 
34 #endif
int _nPipes
Definition: gfxmeter.h:31
int alarmstate
Definition: gfxmeter.h:30
int lastalarmstate
Definition: gfxmeter.h:30
void checkResources(void)
Definition: gfxmeter.cc:50
static int nPipes(void)
Definition: gfxmeter.cc:35
const char * name(void) const
Definition: gfxmeter.h:18
GfxMeter(XOSView *parent, int max)
Definition: gfxmeter.cc:17
unsigned long swapgfxcol_
Definition: gfxmeter.h:27
void getgfxinfo(void)
Definition: gfxmeter.cc:88
int warnThreshold
Definition: gfxmeter.h:30
void checkevent(void)
Definition: gfxmeter.cc:82
unsigned long warngfxcol_
Definition: gfxmeter.h:27
~GfxMeter(void)
Definition: gfxmeter.cc:31
unsigned long critgfxcol_
Definition: gfxmeter.h:27
int critThreshold
Definition: gfxmeter.h:30
static const int max
Definition: intmeter.cc:17