ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/c++/SysMon.h
(Generate patch)

Comparing projects/cms/source/host/c++/SysMon.h (file contents):
Revision 1.2 by ab11, Tue Mar 6 00:38:32 2001 UTC vs.
Revision 1.3 by ab11, Fri Mar 23 14:59:01 2001 UTC

# Line 20 | Line 20 | class SysMon {
20                  int collect(); // collect data for an averager
21                  string getData(); // return the data from averages, or a snapshot if no data is avaible
22                  int getSequence(){ return sequence; }; // inline
23 +                void clearData();  // reset the data arrays
24                  
25          private:
26              SubPipe * p;
27                  int sequence;           // sequence number for the packets
28                  int debug;              // print debug info?
29 <                string titles[60];      // names for the packet info
30 <                string values[60];      // values for those packet infos
29 >                const static int maxTitles = 100;
30 >                string titles[maxTitles];       // names for the packet info
31 >                string values[maxTitles];       // values for those packet infos
32                  int titlepointer;       // where have we got up to?
33                  int checks;             // number of checks since the last packet
34   }; // class

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines