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) 1994, 1995 by Mike Romberg ( romberg@fsl.noaa.gov )
3 //
4 // NetBSD port:
5 // Copyright (c) 1995, 1996, 1997-2002 by Brian Grayson (bgrayson@netbsd.org)
6 //
7 // This file was written by Brian Grayson for the NetBSD and xosview
8 // projects.
9 // This file may be distributed under terms of the GPL or of the BSD
10 // license, whichever you choose. The full license notices are
11 // contained in the files COPYING.GPL and COPYING.BSD, which you
12 // should have received. If not, contact one of the xosview
13 // authors for a copy.
14 //
15 
16 #ifndef _PAGEMETER_H_
17 #define _PAGEMETER_H_
18 
19 #include "fieldmetergraph.h"
20 #include "xosview.h"
21 
22 
23 class PageMeter : public FieldMeterGraph {
24 public:
25  PageMeter( XOSView *parent, double total );
26  ~PageMeter( void );
27 
28  const char *name( void ) const { return "PageMeter"; }
29  void checkevent( void );
30  void checkResources( void );
31 
32 protected:
33  void getpageinfo( void );
34 
35 private:
36  uint64_t previnfo_[2];
37 };
38 
39 
40 #endif
const char * name(void) const
Definition: pagemeter.h:28
~PageMeter(void)
Definition: pagemeter.cc:29
void getpageinfo(void)
Definition: pagemeter.cc:49
PageMeter(XOSView *parent, double total)
Definition: pagemeter.cc:22
void checkevent(void)
Definition: pagemeter.cc:44
void checkResources(void)
Definition: pagemeter.cc:32
uint64_t previnfo_[2]
Definition: pagemeter.h:36