projects
/
clitk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24fb057
)
Return 0.0 if libstatgrab is not used
author
dsarrut
<dsarrut>
Thu, 10 Mar 2011 16:02:04 +0000
(16:02 +0000)
committer
dsarrut
<dsarrut>
Thu, 10 Mar 2011 16:02:04 +0000
(16:02 +0000)
common/clitkMemoryUsage.cxx
patch
|
blob
|
history
diff --git
a/common/clitkMemoryUsage.cxx
b/common/clitkMemoryUsage.cxx
index 8ceff61a1e4c90cc55363de927b375e143ddb087..ecabfc1af97eacfd51c65ae4afd3ce5b296f1d7d 100644
(file)
--- 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
}