Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GNU time incorrectly reports RSS scaled by factor 4: $ curl -so mem.cpp https://ideone.com/plain/5bsp0R && make mem && /usr/bin/time -f "time thinks my peak rss is %M kB" ./mem g++ mem.cpp -o mem procfs thinks my peak RSS is: 514652 kB time thinks my peak rss is 2058608 kB Bug is reported to and fixed by several distros [1] [2] but never made it upstream. Add patch from [1] to fix problem. [1] https://bugzilla.redhat.com/show_bug.cgi?id=702826 [2] https://groups.google.com/forum/#!topic/gnu.utils.help/u1MOsHL4bhg
- Loading branch information