Prints memory occupation after scanning the directories.

This commit is contained in:
Andrea Mazzoleni 2012-01-21 10:17:55 +01:00
parent 4e2cb40f98
commit 457eaf829c
2 changed files with 2 additions and 2 deletions

2
scan.c
View file

@ -684,5 +684,7 @@ void state_scan(struct snapraid_state* state, int output)
}
tommy_list_foreach(&scanlist, (tommy_foreach_func*)free);
printf("Using %u MiB of memory.\n", (unsigned)(malloc_counter() / 1024 / 1024));
}

View file

@ -1009,8 +1009,6 @@ void state_read(struct snapraid_state* state)
printf("\tblock %u\n", count_block);
printf("\tsymlink %u\n", count_link);
}
printf("Using %u MiB of memory.\n", (unsigned)(malloc_counter() / 1024 / 1024));
}
void state_write(struct snapraid_state* state)