X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkMemoryUsage.cxx;h=c95c2859b925e7f7dfa24575e4b53d28d88f53b6;hb=8b0f32e46083e5fbc2efe128c9eae002f129cbd8;hp=e2a095dab5e080dae4e058b2517be8233c450a45;hpb=bacc49dae8fbb11fc2cf9d78fcefa94691f9ebfe;p=clitk.git diff --git a/common/clitkMemoryUsage.cxx b/common/clitkMemoryUsage.cxx index e2a095d..c95c285 100644 --- a/common/clitkMemoryUsage.cxx +++ b/common/clitkMemoryUsage.cxx @@ -49,7 +49,7 @@ double clitk::GetMemoryUsageInMb() // Search the current pid in the list of processes while (stat[i].pid != getpid()) i++; // Display total memory size - double mem = stat[i].proc_resident/1024/1024; // in Mb + double mem = stat[i].proc_resident/1000/1000; // in MB return mem; #else return 0.0;