diff options
author | Philip Balister <philip@opensdr.com> | 2010-05-19 22:27:06 +0000 |
---|---|---|
committer | Philip Balister <philip@opensdr.com> | 2010-05-19 22:27:06 +0000 |
commit | 3bb874f8061f203d8adf6f07e61fd50a154e9906 (patch) | |
tree | c33629209b535b3d741766a56d2bbb82f5ead916 | |
parent | 090d066570993f068f2e3b3a6c6bd25986fc92b7 (diff) | |
download | uhd-3bb874f8061f203d8adf6f07e61fd50a154e9906.tar.gz uhd-3bb874f8061f203d8adf6f07e61fd50a154e9906.tar.bz2 uhd-3bb874f8061f203d8adf6f07e61fd50a154e9906.zip |
Display data rate in samples/second and fix typo.
-rw-r--r-- | host/apps/omap_debug/usrp-e-timed.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/apps/omap_debug/usrp-e-timed.c b/host/apps/omap_debug/usrp-e-timed.c index cfc70f724..c71651741 100644 --- a/host/apps/omap_debug/usrp-e-timed.c +++ b/host/apps/omap_debug/usrp-e-timed.c @@ -84,8 +84,8 @@ static void *read_thread(void *threadid) gettimeofday(&finish_time, NULL); elapsed_seconds = finish_time.tv_sec - start_time.tv_sec; - printf("RX data transfer rate = %f K Bps\n", - (float) bytes_transfered / (float) elapsed_seconds / 1000); + printf("RX data transfer rate = %f K Samples/second\n", + (float) bytes_transfered / (float) elapsed_seconds / 4000); start_time = finish_time; @@ -159,8 +159,8 @@ static void *write_thread(void *threadid) gettimeofday(&finish_time, NULL); elapsed_seconds = finish_time.tv_sec - start_time.tv_sec; - printf("TX data transfer rate = %f K Bps\n", - (float) bytes_transfered / (float) elapsed_seconds / 1000); + printf("TX data transfer rate = %f K Samples/second\n", + (float) bytes_transfered / (float) elapsed_seconds / 4000); start_time = finish_time; @@ -182,7 +182,7 @@ int main(int argc, char *argv[]) }; if (argc < 4) { - printf("%s t|w|rw decimation data_size\n", argv[0]); + printf("%s r|w|rw decimation data_size\n", argv[0]); return -1; } |