Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm

This commit is contained in:
Stefan Lankes 2011-10-08 08:54:55 +02:00
commit 1683610e53

View file

@ -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");
}