diff options
| author | Josh Blum <josh@joshknows.com> | 2010-10-27 10:45:15 -0700 | 
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2010-10-27 10:45:15 -0700 | 
| commit | 211e190619652be145fdcd79cd54eda0e84d3313 (patch) | |
| tree | 8bcf74b1086e166d3dbaf3ebfc3cf2a48c2fc3ec /host/include | |
| parent | a7840ebb3f7d7f807d05059e2809eb45cff04899 (diff) | |
| download | uhd-211e190619652be145fdcd79cd54eda0e84d3313.tar.gz uhd-211e190619652be145fdcd79cd54eda0e84d3313.tar.bz2 uhd-211e190619652be145fdcd79cd54eda0e84d3313.zip  | |
usrp: added a time sync check for multi usrp
Diffstat (limited to 'host/include')
| -rw-r--r-- | host/include/uhd/usrp/multi_usrp.hpp | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp index 5380d177d..98ba07fc0 100644 --- a/host/include/uhd/usrp/multi_usrp.hpp +++ b/host/include/uhd/usrp/multi_usrp.hpp @@ -145,6 +145,14 @@ public:      virtual void set_time_unknown_pps(const time_spec_t &time_spec) = 0;      /*! +     * Are the times across all motherboards in this configuration synchronized? +     * Checks that all time registers are approximately close but not exact, +     * given that the RTT may varying for a control packet transaction. +     * \return true when all motherboards time registers are in sync +     */ +    virtual bool get_time_synchronized(void) = 0; + +    /*!       * Issue a stream command to the usrp device.       * This tells the usrp to send samples into the host.       * See the documentation for stream_cmd_t for more info.  | 
