use nicer output messages
This commit is contained in:
parent
0801b6f087
commit
b920e37f77
1 changed files with 2 additions and 2 deletions
|
@ -372,7 +372,7 @@ int TCP_Bench(void)
|
|||
end = rdtsc();
|
||||
} while((end-start)/freq < 6000000ULL /* = 6s */);
|
||||
|
||||
kprintf("%llu KBytes/s", (nData/1024ULL)/((end-start)/(1000000ULL*freq)));
|
||||
kprintf("%llu/100 MBytes/s", ((100ULL*nData)/(1024ULL*1024ULL))/((end-start)/(1000000ULL*freq)));
|
||||
|
||||
kprintf(" Tx, ");
|
||||
|
||||
|
@ -416,7 +416,7 @@ int TCP_Bench(void)
|
|||
} while (cBuffer[0] == 0 && rc > 0);
|
||||
|
||||
end = rdtsc();
|
||||
kprintf("%llu KBytes/s", (nData/1024ULL)/((end-start)/(1000000ULL*freq)));
|
||||
kprintf("%llu/100 MBytes/s", ((100ULL*nData)/(1024ULL*1024ULL))/((end-start)/(1000000ULL*freq)));
|
||||
|
||||
kprintf(" Rx.\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue