projects
/
my-code
/
ivac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d333f09
)
some spaces added in print_rate function
author
hackbard
<hackbard>
Mon, 2 Feb 2004 02:40:40 +0000
(
02:40
+0000)
committer
hackbard
<hackbard>
Mon, 2 Feb 2004 02:40:40 +0000
(
02:40
+0000)
stream.c
patch
|
blob
|
history
diff --git
a/stream.c
b/stream.c
index
aa8c52a
..
07439a5
100644
(file)
--- a/
stream.c
+++ b/
stream.c
@@
-47,8
+47,9
@@
int print_rate(struct timeval *time_start,int t) {
:now.tv_usec-time_start->tv_usec;
delta_t=sec_t*1000000+usec_t;
kbs_t=(t/delta_t)*(1000000/1024);
- count=printf("total: %d MByte - average: %d kB/s",t/(1024*1024),kbs_t);
+ count=printf("total: %d MByte - average: %d kB/s
",t/(1024*1024),kbs_t);
while(count--) printf("\b");
+
return 1;
}