Print the amount of memory used for MT

This commit is contained in:
Andrea Mazzoleni 2016-01-05 13:58:08 +01:00
parent 4191989fa7
commit fb404ef149
2 changed files with 6 additions and 1 deletions

View file

@ -85,7 +85,7 @@ void memory(void)
log_tag("memory:link:%" PRIu64 "\n", (uint64_t)(sizeof(struct snapraid_link)));
log_tag("memory:dir:%" PRIu64 "\n", (uint64_t)(sizeof(struct snapraid_dir)));
msg_progress("Using %u MiB of memory.\n", (unsigned)(malloc_counter_get() / (1024 * 1024)));
msg_progress("Using %u MiB of memory for the FileSystem.\n", (unsigned)(malloc_counter_get() / (1024 * 1024)));
}
/****************************************************************************/