# | Line 1 | Line 1 | |
---|---|---|
1 | #ifndef PROC_MEM_H | |
2 | #define PROC_MEM_H | |
3 | + | #include <stdio.h> |
4 | // a Linux-specific way to report the memory usage of the current process | |
5 | < | void process_mem_usage(double& vm_usage, double& resident_set); |
5 | > | void get_mem_usage(double& vm_usage, double& resident_set); |
6 | ||
7 | < | void print_mem_usage(); |
7 | > | void print_mem_usage(FILE* fout=stderr); |
8 | ||
9 | #endif |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |