Commit 87235b5c authored by Mike Hibler's avatar Mike Hibler

Print rates as quads rather than longs.

parent e25ef575
/* /*
* EMULAB-COPYRIGHT * EMULAB-COPYRIGHT
* Copyright (c) 2000-2003 University of Utah and the Flux Group. * Copyright (c) 2000-2007 University of Utah and the Flux Group.
* All rights reserved. * All rights reserved.
*/ */
...@@ -405,12 +405,12 @@ ClientStatsDump(unsigned int id, ClientStats_t *stats) ...@@ -405,12 +405,12 @@ ClientStatsDump(unsigned int id, ClientStats_t *stats)
seconds = stats->u.v1.runsec; seconds = stats->u.v1.runsec;
if (seconds == 0) if (seconds == 0)
seconds = 1; seconds = 1;
log(" real data written: %qu (%ld Bps)", log(" real data written: %qu (%qu Bps)",
stats->u.v1.rbyteswritten, stats->u.v1.rbyteswritten,
(long)(stats->u.v1.rbyteswritten/seconds)); stats->u.v1.rbyteswritten/seconds);
log(" effective data written: %qu (%ld Bps)", log(" effective data written: %qu (%qu Bps)",
stats->u.v1.ebyteswritten, stats->u.v1.ebyteswritten,
(long)(stats->u.v1.ebyteswritten/seconds)); stats->u.v1.ebyteswritten/seconds);
log("Client %u Params:", id); log("Client %u Params:", id);
log(" chunk/block size: %d/%d", log(" chunk/block size: %d/%d",
CHUNKSIZE, BLOCKSIZE); CHUNKSIZE, BLOCKSIZE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment