- Timestamp:
- Apr 2, 2008, 8:12:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/vizservers/nanovis/PerfQuery.h
r835 r981 44 44 45 45 public: 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 48 54 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 } 58 61 }; 59 62
Note: See TracChangeset
for help on using the changeset viewer.