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)  

pagemeter.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 1996, 2007 by Massimiliano Ghilardi ( ghilardi@cibs.sns.it )
3 //
4 // This file may be distributed under terms of the GPL
5 //
6 
7 #ifndef _PAGEMETER_H_
8 #define _PAGEMETER_H_
9 
10 #include "fieldmetergraph.h"
11 #include "xosview.h"
12 
13 
14 class PageMeter : public FieldMeterGraph {
15 public:
16  PageMeter( XOSView *parent, float max );
17  ~PageMeter( void );
18 
19  const char *name( void ) const { return "PageMeter"; }
20  void checkevent( void );
21 
22  void checkResources( void );
23 protected:
24  unsigned long pageinfo_[2][2];
25  int pageindex_;
26  float maxspeed_;
27  bool _vmstat;
28  const char *_statFileName;
29 
30  void getpageinfo( void );
31  void getvmpageinfo( void );
32  void updateinfo(void);
33 private:
34 };
35 
36 #endif
const char * name(void) const
Definition: pagemeter.h:19
~PageMeter(void)
float pageinfo_[2][2]
Definition: pagemeter.h:23
void getvmpageinfo(void)
Definition: pagemeter.cc:85
const char * _statFileName
Definition: pagemeter.h:28
void updateinfo(void)
int pageindex_
Definition: pagemeter.h:24
void getpageinfo(void)
bool _vmstat
Definition: pagemeter.h:27
float maxspeed_
Definition: pagemeter.h:25
PageMeter(XOSView *parent, float max)
void checkevent(void)
void checkResources(void)
static const int max
Definition: intmeter.cc:17