aboutsummaryrefslogtreecommitdiffstats
path: root/host/usrp_e_utils/usrp-e-timed.c
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-15 10:37:40 -0700
committerJosh Blum <josh@joshknows.com>2011-06-15 10:37:40 -0700
commitff143516a8371aca85144887caabec91e5d8801e (patch)
tree6a18f342d465499efa50b235fe5718f728dd35cb /host/usrp_e_utils/usrp-e-timed.c
parented3439eebb51ab5ef8f184624212ded30a8544bb (diff)
parenta6ca4778f8ae05b7f24e8c64bd58d7f39b3a9c14 (diff)
downloaduhd-ff143516a8371aca85144887caabec91e5d8801e.tar.gz
uhd-ff143516a8371aca85144887caabec91e5d8801e.tar.bz2
uhd-ff143516a8371aca85144887caabec91e5d8801e.zip
Merge branch 'philip/e100-fpga-test-fixes' into next
Diffstat (limited to 'host/usrp_e_utils/usrp-e-timed.c')
-rw-r--r--host/usrp_e_utils/usrp-e-timed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/usrp_e_utils/usrp-e-timed.c b/host/usrp_e_utils/usrp-e-timed.c
index 06dfdf512..407564429 100644
--- a/host/usrp_e_utils/usrp-e-timed.c
+++ b/host/usrp_e_utils/usrp-e-timed.c
@@ -273,7 +273,7 @@ static void *write_thread(void *threadid)
d_time = delta_time(finish_time, start_time);
- elapsed_seconds = (float)d_time.tv_sec - ((float)d_time.tv_usec * 1e-6f);
+ elapsed_seconds = (float)d_time.tv_sec + ((float)d_time.tv_usec * 1e-6f);
printf("Bytes transfered = %ld, elapsed seconds = %f\n", bytes_transfered, elapsed_seconds);
printf("TX data transfer rate = %f K Samples/second\n",