Changeset 981 for trunk


Ignore:
Timestamp:
Apr 2, 2008, 8:12:53 AM (16 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/vizservers/nanovis/PerfQuery.h

    r835 r981  
    4444
    4545public:
    46   NVISid id;
    47   int pixel;
     46    NVISid id;
     47    int pixel;
     48   
     49    PerfQuery();
     50    ~PerfQuery();
     51   
     52    void enable(void);  //start counting how many pixels are rendered
     53    void disable(void); //stop counting
    4854
    49   PerfQuery();
    50   ~PerfQuery();
    51 
    52   void enable();        //start counting how many pixels are rendered
    53   void disable();       //stop counting
    54 
    55   void reset();         //reset pixel count to 0;
    56   int get_pixel_count();//return current pixel count
    57 
     55    void reset(void) {
     56        pixel = 0;
     57    }
     58    int get_pixel_count(void) {
     59        return pixel;           //return current pixel count
     60    }
    5861};
    5962
Note: See TracChangeset for help on using the changeset viewer.