• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

src/util/header/Timer.h

Go to the documentation of this file.
00001 
00002 #define FPS_str_len 16
00003 
00005 class Timer {
00006 public:
00007         Timer();
00008         ~Timer();
00009 
00011         bool init(void);
00013         void uninit(void);
00014 
00016         double time(void);
00018         float timef(void);
00020         double delta(void);
00022         float deltaf(void);
00023 
00024 private:
00025         long long start, count, lastcount;
00026         static double freq;
00027 };

Generated on Fri Jun 18 2010 17:48:40 for Cannonball by  doxygen 1.7.0