"Fossies" - the Fresh Open Source Software Archive

Member "xosview-1.23/hpux/memmeter.h" (11 Jul 2020, 559 Bytes) of package /linux/misc/xosview-1.23.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "memmeter.h" see the Fossies "Dox" file reference documentation.

    1 //  
    2 //  Copyright (c) 1994, 1995 by Mike Romberg ( romberg@fsl.noaa.gov )
    3 //
    4 //  This file may be distributed under terms of the GPL
    5 //
    6 
    7 #ifndef _MEMMETER_H_
    8 #define _MEMMETER_H_
    9 
   10 #include "fieldmeterdecay.h"
   11 #include <sys/pstat.h>
   12 
   13 class MemMeter : public FieldMeterDecay {
   14 public:
   15   MemMeter( XOSView *parent );
   16   ~MemMeter( void );
   17 
   18   const char *name( void ) const { return "MemMeter"; }  
   19   void checkevent( void );
   20 
   21   void checkResources(void);
   22 
   23 protected:
   24   struct pst_status *stats_;
   25   int _pageSize;
   26 
   27   void getmeminfo( void );
   28 private:
   29 };
   30 
   31 
   32 #endif