#include <time.h>
#include <sys/time.h>
Go to the source code of this file.
◆ GTT_TIMER_SINCE
      
        
          | #define GTT_TIMER_SINCE   -1 | 
        
      
 
 
◆ GTT_TIMER_START
      
        
          | #define GTT_TIMER_START   0 | 
        
      
 
 
◆ GTT_TIMER_STOP
◆ gtttimer()
◆ gtttimer_initkey()
      
        
          | void gtttimer_initkey  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ gtttimer_start()
      
        
          | struct timeval gtttimer_start  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
significantly (0.02ms) faster and simpler timer start/stop functions 
Definition at line 70 of file RegSelTimer.cxx.
 
 
◆ gtttimer_stop()
      
        
          | double gtttimer_stop  | 
          ( | 
          struct timeval  | 
           | ) | 
           | 
        
      
 
Definition at line 128 of file RegSelTimer.cxx.
  131   struct timeval stop_time;
 
  132   struct timeval diff_time;
 
  142   time = (diff_time.tv_sec*1000.0) + (diff_time.tv_usec/1000.0);