Show size and time in real units.
This commit is contained in:
20
src/main.c
20
src/main.c
@@ -182,15 +182,19 @@ void PrintStatistics(ActionFileNode actionFileNode) {
|
|||||||
ActionQueueStatistics statistics;
|
ActionQueueStatistics statistics;
|
||||||
ActionFileNode_Statistics(actionFileNode, &statistics);
|
ActionFileNode_Statistics(actionFileNode, &statistics);
|
||||||
printff("Statistics\n");
|
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(" % 8s % 8s % 8s\n",
|
||||||
printff("Left :"); PrintDataSize(statistics.readLeft); PrintDataSize(statistics.writeLeft); PrintDataSize(statistics.deleteLeft); printff("\n");
|
"Read", "Write", "Delete");
|
||||||
printff("Right:"); PrintDataSize(statistics.readRight); PrintDataSize(statistics.writeRight); PrintDataSize(statistics.deleteRight); printff("\n");
|
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("\n");
|
||||||
printff("Copy count : % 10d\n", statistics.fullCopyCount);
|
printff("Copy count : % 10d\n", statistics.fullCopyCount);
|
||||||
|
|||||||
Reference in New Issue
Block a user