We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53f00c2 commit baf4e81Copy full SHA for baf4e81
src/stats.cpp
@@ -49,8 +49,8 @@ pair<long, long> Stats::get_rss() const {
49
long maxrss = 0, currrss = 0;
50
51
while (getline(ifs, line)) {
52
- if (line.starts_with("VmPeak:")) {
53
- maxrss = stol(line.substr(7));
+ if (line.starts_with("VmHWM:")) {
+ maxrss = stol(line.substr(6));
54
} else if (line.starts_with("VmRSS:")) {
55
currrss = stol(line.substr(6));
56
break;
0 commit comments