mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Prints memory occupation after scanning the directories.
This commit is contained in:
parent
4e2cb40f98
commit
457eaf829c
2 changed files with 2 additions and 2 deletions
2
scan.c
2
scan.c
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
2
state.c
2
state.c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue