ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/proc_mem.h
Revision: 310
Committed: Fri Mar 22 20:06:27 2013 UTC (6 years ago) by gpertea
File size: 241 byte(s)
Log Message:
sync with igm repo

Line File contents
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 get_mem_usage(double& vm_usage, double& resident_set);
6
7 void print_mem_usage(FILE* fout=stderr);
8
9 #endif