diff --git a/Applications/Utils/FileConverter/FEFLOW2OGS.cpp b/Applications/Utils/FileConverter/FEFLOW2OGS.cpp index 52d216c4d8179b90dde7c7b36aa8a064a1b5ba4a..f060e7087fb0e882d51f0ee38d7e3e9be0ed4575 100644 --- a/Applications/Utils/FileConverter/FEFLOW2OGS.cpp +++ b/Applications/Utils/FileConverter/FEFLOW2OGS.cpp @@ -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()); diff --git a/Applications/Utils/FileConverter/GMSH2OGS.cpp b/Applications/Utils/FileConverter/GMSH2OGS.cpp index 17fe9c7dfe4cdfb51831fea0f4f2a963cb842dc4..a207ab6c2af67bfd66799dd2b664bc9c1b315256 100644 --- a/Applications/Utils/FileConverter/GMSH2OGS.cpp +++ b/Applications/Utils/FileConverter/GMSH2OGS.cpp @@ -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 diff --git a/Applications/Utils/MeshEdit/checkMesh.cpp b/Applications/Utils/MeshEdit/checkMesh.cpp index c556ba6efdbbce91e12b9dd779095d60ea67217a..6b7bc4c5be855cbd18c97cdc3e98487a3555b976 100644 --- a/Applications/Utils/MeshEdit/checkMesh.cpp +++ b/Applications/Utils/MeshEdit/checkMesh.cpp @@ -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; }