ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/proc_mem.h
(Generate patch)
# 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines