Include total system memory and peak RSS usage in output.
authorMilian Wolff <mail@milianw.de>
Thu, 25 Feb 2016 19:44:39 +0000 (20:44 +0100)
committerMilian Wolff <mail@milianw.de>
Thu, 25 Feb 2016 19:44:39 +0000 (20:44 +0100)
commit4770cbf7fc0e2d67a84acacbdeb2b0102b336f6a
treed6666e8bc1b3b7712ab3f89a8e3eddbde9b85a27
parentefdbf48fff0232a36afa93d8a8c8ccaee0dcd367
Include total system memory and peak RSS usage in output.

We now track the RSS by parsing /proc/self/statm on every timestamp.
The total system memory is taken from sysconf.

The RSS may potentially miss its true peaks, which can be handled in
the future via getrusage(). Still, this is a nice and useful addition
I think.
CMakeLists.txt
accumulatedtracedata.cpp
accumulatedtracedata.h
gui/mainwindow.cpp
gui/parser.cpp
gui/parser.h
heaptrack_print.cpp
libheaptrack.cpp