--- projects/cms/source/host/c++/SysMon.h 2001/03/06 00:38:32 1.2 +++ projects/cms/source/host/c++/SysMon.h 2001/03/23 14:59:01 1.3 @@ -20,13 +20,15 @@ class SysMon { int collect(); // collect data for an averager string getData(); // return the data from averages, or a snapshot if no data is avaible int getSequence(){ return sequence; }; // inline + void clearData(); // reset the data arrays private: SubPipe * p; int sequence; // sequence number for the packets int debug; // print debug info? - string titles[60]; // names for the packet info - string values[60]; // values for those packet infos + const static int maxTitles = 100; + string titles[maxTitles]; // names for the packet info + string values[maxTitles]; // values for those packet infos int titlepointer; // where have we got up to? int checks; // number of checks since the last packet }; // class \ No newline at end of file