From: Steinar H. Gunderson Date: Sat, 17 Jun 2017 13:23:25 +0000 (+0200) Subject: Correct the scale of the memory metrics. X-Git-Tag: 1.6.1~33 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=96724303b7aa499ee31ea5aacab4ee26c4c794d1;p=nageru Correct the scale of the memory metrics. --- diff --git a/mixer.cpp b/mixer.cpp index d55fa61..860df6c 100644 --- a/mixer.cpp +++ b/mixer.cpp @@ -979,7 +979,7 @@ void Mixer::thread_func() printf("\n"); - metrics_memory_used_bytes = used.ru_maxrss; + metrics_memory_used_bytes = used.ru_maxrss * 1024; }