  | 
  
    USRP Hardware Driver and USRP Manual
    Version: 4.8.0.0
    
   UHD and USRP Manual 
   | 
           
 | 
 
 
 
 
Go to the documentation of this file.
   12 #include <boost/operators.hpp> 
   29                             boost::additive<time_spec_t, double>,
 
   30                             boost::totally_ordered<time_spec_t>
 
   34     static constexpr 
double ASAP = 0.0;
 
   47     time_spec_t(int64_t full_secs, 
double frac_secs = 0);
 
   56     time_spec_t(int64_t full_secs, 
long tick_count, 
double tick_rate);
 
   64     static time_spec_t from_ticks(
long long ticks, 
double tick_rate);
 
   72     long get_tick_count(
double tick_rate) 
const;
 
   80     long long to_ticks(
const double tick_rate) 
const;
 
   88     double get_real_secs(
void) 
const;
 
   94     int64_t get_full_secs(
void) 
const;
 
  100     double get_frac_secs(
void) 
const;
 
  123     return this->_full_secs;
 
  128     return this->_frac_secs;
 
  
 
double get_frac_secs(void) const
Definition: time_spec.hpp:126
 
UHD_API bool operator<(const time_spec_t &, const time_spec_t &)
Implement less_than_comparable interface.
 
#define UHD_INLINE
Definition: config.h:65
 
UHD_API bool operator==(const time_spec_t &, const time_spec_t &)
Implement equality_comparable interface.
 
#define UHD_API
Definition: config.h:87
 
Definition: build_info.hpp:12
 
Definition: time_spec.hpp:28
 
int64_t get_full_secs(void) const
Definition: time_spec.hpp:121