diff options
author | Josh Blum <josh@joshknows.com> | 2011-06-15 10:37:40 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-06-15 10:37:40 -0700 |
commit | ff143516a8371aca85144887caabec91e5d8801e (patch) | |
tree | 6a18f342d465499efa50b235fe5718f728dd35cb /host/usrp_e_utils/usrp-e-timed.c | |
parent | ed3439eebb51ab5ef8f184624212ded30a8544bb (diff) | |
parent | a6ca4778f8ae05b7f24e8c64bd58d7f39b3a9c14 (diff) | |
download | uhd-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.c | 2 |
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", |