ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/utils/residentMem.c
(Generate patch)

Comparing trunk/OOPSE-4/src/utils/residentMem.c (file contents):
Revision 2263 by tim, Wed Jul 13 15:54:00 2005 UTC vs.
Revision 3003 by gezelter, Fri Sep 8 16:13:21 2006 UTC

# Line 6 | Line 6
6   #include <unistd.h>
7   #endif
8  
9 #define to_string( s ) # s
10 #define STR_DEFINE(t, s) t = to_string(s)
11
9   /*
10   * returns an estimate of the resident memory size in kB
11   */
12 < double residentMem () {
12 > RealType residentMem () {
13  
14    FILE* procresults;
15    char buf[150];
# Line 36 | Line 33 | double residentMem () {
33   #endif
34   #endif
35  
36 <  printf("doing %s\n", pscommand);
36 >  /* printf("doing %s\n", pscommand); */
37  
38    procresults = popen(pscommand, "r");
39  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines