diff options
author | Philip Balister <philip@opensdr.com> | 2010-05-23 12:58:58 +0000 |
---|---|---|
committer | Philip Balister <philip@opensdr.com> | 2010-05-23 12:58:58 +0000 |
commit | f113ae17863729f05b6ada815b9817cd16001211 (patch) | |
tree | 868dca9346b8c96f528e4591715412281511abf9 /host | |
parent | 85e32e298217a16102d25a455d605c55a05e369c (diff) | |
download | uhd-f113ae17863729f05b6ada815b9817cd16001211.tar.gz uhd-f113ae17863729f05b6ada815b9817cd16001211.tar.bz2 uhd-f113ae17863729f05b6ada815b9817cd16001211.zip |
Divide by 4 to convert byts/sec to samples/sec. Multiply by 4 is right out.
Diffstat (limited to 'host')
-rw-r--r-- | host/apps/omap_debug/usrp-e-loopback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/apps/omap_debug/usrp-e-loopback.c b/host/apps/omap_debug/usrp-e-loopback.c index 798bc4b45..177394947 100644 --- a/host/apps/omap_debug/usrp-e-loopback.c +++ b/host/apps/omap_debug/usrp-e-loopback.c @@ -86,7 +86,7 @@ static void *read_thread(void *threadid) elapsed_seconds = finish_time.tv_sec - start_time.tv_sec; printf("RX data transfer rate = %f K Samples/second\n", - (float) bytes_transfered / (float) elapsed_seconds / 250); + (float) bytes_transfered / (float) elapsed_seconds / 4000); start_time = finish_time; |