X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkMemoryUsage.cxx;h=ecabfc1af97eacfd51c65ae4afd3ce5b296f1d7d;hb=c20a6b26e1ed141fbcdb7d72592ce7f0537698c7;hp=8ceff61a1e4c90cc55363de927b375e143ddb087;hpb=4cf66df882d7cd5cc0d9a240ffea8827e00c9969;p=clitk.git diff --git a/common/clitkMemoryUsage.cxx b/common/clitkMemoryUsage.cxx index 8ceff61..ecabfc1 100644 --- a/common/clitkMemoryUsage.cxx +++ b/common/clitkMemoryUsage.cxx @@ -48,6 +48,8 @@ double clitk::GetMemoryUsageInMb() // Display total memory size double mem = stat[i].proc_resident/1024/1024; // in Mb return mem; +#else + return 0.0; #endif }