home *** CD-ROM | disk | FTP | other *** search
- /* -*- c++ -*-
- Describes a file with bmon output */
-
- #pragma interface
-
- class bmonout {
- unsigned int *count; // Array of counter values
- unsigned int lowpc, highpc; // Low and high values of pc in count[]
- static const char *nowname;
- static void newhandler(void);
- time_t _mtime;
- public:
- bmonout(const char * = "bmon.out");
- ~bmonout(void);
-
- /* Index is the program counter, returns the number of ticks at
- that program counter */
- unsigned int operator[](unsigned int) const;
-
- /* Modification time of the bmonout file */
- time_t mtime (void) const { return _mtime; }
- };
-