| # | 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 | ||
| # | Line 0 | Line 1 | |
|---|---|---|
| 1 | + | Author Id Revision Date |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |