Skip to content
Snippets Groups Projects
Commit dd7f53a1 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[App/U] Fix memory info message type and prefix.

parent d93b2a6d
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ int main (int argc, char* argv[])
}
#ifndef WIN32
unsigned long mem_with_mesh (mem_watch.getVirtMemUsage());
INFO("Mem for mesh: {:i} MB",
INFO("Mem for mesh: {} MiB",
(mem_with_mesh - mem_without_mesh) / (1024 * 1024));
#endif
INFO("Time for reading: {:f} seconds.", run_time.elapsed());
......
......@@ -92,7 +92,7 @@ int main (int argc, char* argv[])
return -1;
}
#ifndef WIN32
INFO("Mem for mesh: {:i} MB",
INFO("Mem for mesh: {} MiB",
(mem_watch.getVirtMemUsage() - mem_without_mesh) / (1024 * 1024));
#endif
......
......@@ -64,7 +64,7 @@ int main(int argc, char* argv[])
const unsigned long mem_with_mesh(mem_watch.getVirtMemUsage());
if (mem_with_mesh > 0)
{
INFO("Memory size: {:i} MB",
INFO("Memory size: {} MiB",
(mem_with_mesh - mem_without_mesh) / (1024 * 1024));
(void)mem_with_mesh;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment