Relative time interval.  
 More...
#include <tick_count.h>
Relative time interval. 
Definition at line 37 of file tick_count.h.
 
◆ interval_t() [1/3]
  
  
      
        
          | tbb::tick_count::interval_t::interval_t  | 
          ( | 
          long long  | 
          value_ | ) | 
           | 
         
       
   | 
  
inlineexplicitprivate   | 
  
 
 
◆ interval_t() [2/3]
  
  
      
        
          | tbb::tick_count::interval_t::interval_t  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Construct a time interval representing zero time duration. 
Definition at line 42 of file tick_count.h.
 
 
◆ interval_t() [3/3]
  
  
      
        
          | tbb::tick_count::interval_t::interval_t  | 
          ( | 
          double  | 
          sec | ) | 
           | 
         
       
   | 
  
inlineexplicit   | 
  
 
 
◆ operator+=()
Accumulation operator. 
Definition at line 66 of file tick_count.h.
   66 {
value += i.value; 
return *
this;}
 
 
References value.
 
 
◆ operator-=()
Subtraction operator. 
Definition at line 69 of file tick_count.h.
   69 {
value -= i.value; 
return *
this;}
 
 
References value.
 
 
◆ seconds()
  
  
      
        
          | double tbb::tick_count::interval_t::seconds  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ ticks_per_second()
  
  
      
        
          | static long long tbb::tick_count::interval_t::ticks_per_second  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestaticprivate   | 
  
 
Definition at line 71 of file tick_count.h.
   74             int rval = QueryPerformanceFrequency(&qpfreq);
    76             return static_cast<long long>(qpfreq.QuadPart);
    78             return static_cast<long long>(1E9);
    80             return static_cast<long long>(1E6);
 #define __TBB_ASSERT_EX(predicate, comment)
"Extended" version is useful to suppress warnings if a variable is only used with an assert
 
 
References __TBB_ASSERT_EX.
Referenced by interval_t(), and tbb::tick_count::resolution().
 
 
◆ operator+
Add two intervals. 
Definition at line 56 of file tick_count.h.
interval_t()
Construct a time interval representing zero time duration.
 
 
 
 
◆ operator- [1/2]
Extract the intervals from the tick_counts and subtract them. 
Definition at line 126 of file tick_count.h.
  127     return tick_count::interval_t( t1.my_count-t0.my_count );
  
 
 
◆ operator- [2/2]
Subtract two intervals. 
Definition at line 61 of file tick_count.h.
interval_t()
Construct a time interval representing zero time duration.
 
 
 
 
◆ tbb::tick_count
◆ value
  
  
      
        
          | long long tbb::tick_count::interval_t::value | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: