Permalink
Browse files

duplicate some memory stat counters to make it easier to find

Reviewed By: jano

Differential Revision: D13280213

fbshipit-source-id: 3d4ced29d03f3ed3804e4e76929431d9e9027efa
  • Loading branch information...
binliu19 authored and hhvm-bot committed Nov 30, 2018
1 parent 3e92eea commit 6c238b500be4336be50d21bfca47a8a832501a1b
Showing with 2 additions and 0 deletions.
  1. +2 −0 hphp/runtime/server/memory-stats.cpp
@@ -63,9 +63,11 @@ void MemoryStats::ReportMemory(std::string& output, Writer::Format format) {
w->writeEntry("VmSize", procStatus.VmSizeKb);
w->writeEntry("VmRSS", procStatus.VmRSSKb);
w->writeEntry("mem.rss", procStatus.VmRSSKb);
w->writeEntry("PeakUsage", procStatus.VmHWMKb);
w->writeEntry("HugetlbPages", procStatus.HugetlbPagesKb);
w->writeEntry("adjustedRSS", procStatus.adjustedRSSKb);
w->writeEntry("mem.rss_adjusted", procStatus.adjustedRSSKb);
// static string stats
w->writeEntry("static_string_count", makeStaticStringCount());

0 comments on commit 6c238b5

Please sign in to comment.