| 
    xapian-core
    1.4.29
    
   | 
 
#include <cputimer.h>
Public Member Functions | |
| CPUTimer () | |
| Start the timer.  More... | |
| double | get_time () const | 
| Return elapsed CPU time since object creation in seconds.  More... | |
Static Private Member Functions | |
| static double | get_current_cputime () | 
Private Attributes | |
| double | start | 
Definition at line 24 of file cputimer.h.
      
  | 
  inline | 
Start the timer.
Definition at line 31 of file cputimer.h.
      
  | 
  staticprivate | 
Definition at line 48 of file cputimer.cc.
References errno_to_string(), FAIL_TEST, RealTime::now(), and SKIP_TEST.
Referenced by get_time().
      
  | 
  inline | 
Return elapsed CPU time since object creation in seconds.
Definition at line 34 of file cputimer.h.
References get_current_cputime(), and start.
Referenced by bigoaddvalue1_helper(), querypairwise1_helper(), and time_query_parse().
      
  | 
  private | 
Definition at line 25 of file cputimer.h.
Referenced by get_time().