Home | History | Annotate | Download | only in bench
      1 #ifndef SkBenchSysTimer_DEFINED
      2 #define SkBenchSysTimer_DEFINED
      3 
      4 //Time
      5 #include <time.h>
      6 
      7 class BenchSysTimer {
      8 public:
      9     void startWall();
     10     void startCpu();
     11     double endCpu();
     12     double endWall();
     13 private:
     14     timespec fCpu;
     15     timespec fWall;
     16 };
     17 
     18 #endif
     19 
     20