diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-08 10:57:16 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-08 10:57:16 -0700 |
commit | d743784919b362d93e6408f05bdef6e543e3fc7e (patch) | |
tree | 41bd275d4cb06c5d56a1858c3023ce4498381042 /host/examples | |
parent | b66a74ff1f629af714e26040b410d472c08be522 (diff) | |
download | uhd-d743784919b362d93e6408f05bdef6e543e3fc7e.tar.gz uhd-d743784919b362d93e6408f05bdef6e543e3fc7e.tar.bz2 uhd-d743784919b362d93e6408f05bdef6e543e3fc7e.zip |
converted timespec to use nanoseconds for fractional part
Diffstat (limited to 'host/examples')
-rw-r--r-- | host/examples/rx_timed_samples.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/examples/rx_timed_samples.cpp b/host/examples/rx_timed_samples.cpp index e971e9f6a..d49f7d182 100644 --- a/host/examples/rx_timed_samples.cpp +++ b/host/examples/rx_timed_samples.cpp @@ -86,8 +86,8 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ ); if (num_rx_samps == 0) continue; //wait for packets with contents - std::cout << boost::format("Got packet: %u samples, %u secs, %u ticks") - % num_rx_samps % md.time_spec.secs % md.time_spec.ticks << std::endl; + std::cout << boost::format("Got packet: %u samples, %u secs, %u nsecs") + % num_rx_samps % md.time_spec.secs % md.time_spec.nsecs << std::endl; num_acc_samps += num_rx_samps; } |