From ed88d7624fc16730927c604eb63e0a63781808ac Mon Sep 17 00:00:00 2001 From: "Valeriano A.R" Date: Sun, 22 Nov 2015 13:43:39 +0100 Subject: [PATCH] Show size and time in real units. --- src/main.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/src/main.c b/src/main.c index 9071bc1..8c307e8 100644 --- a/src/main.c +++ b/src/main.c @@ -182,15 +182,19 @@ void PrintStatistics(ActionFileNode actionFileNode) { ActionQueueStatistics statistics; ActionFileNode_Statistics(actionFileNode, &statistics); printff("Statistics\n"); - //printff(" % 12s % 12s % 12s\n", "Read", "Write", "Delete"); - //printff("Left : % 12lld % 12lld % 12lld\n", statistics.readLeft, - // statistics.writeLeft, statistics.deleteLeft); - //printff("Right: % 12lld % 12lld % 12lld\n", statistics.readRight, - // statistics.writeRight, statistics.deleteRight); - printff(" % 8s % 8s % 8s\n", "Read", "Write", "Delete"); - printff("Left :"); PrintDataSize(statistics.readLeft); PrintDataSize(statistics.writeLeft); PrintDataSize(statistics.deleteLeft); printff("\n"); - printff("Right:"); PrintDataSize(statistics.readRight); PrintDataSize(statistics.writeRight); PrintDataSize(statistics.deleteRight); printff("\n"); + printff(" % 8s % 8s % 8s\n", + "Read", "Write", "Delete"); + printff("Left :"); + PrintDataSize(statistics.readLeft); + PrintDataSize(statistics.writeLeft); + PrintDataSize(statistics.deleteLeft); + printff("\n"); + printff("Right:"); + PrintDataSize(statistics.readRight); + PrintDataSize(statistics.writeRight); + PrintDataSize(statistics.deleteRight); + printff("\n"); printff("\n"); printff("Copy count : % 10d\n", statistics.fullCopyCount);