]> git.sesse.net Git - nageru/commitdiff
Correct the scale of the memory metrics.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 17 Jun 2017 13:23:25 +0000 (15:23 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 17 Jun 2017 14:03:47 +0000 (16:03 +0200)
mixer.cpp

index d55fa61eee91865adae155b2301c12143dfc4843..860df6c42bdaf3f04abaaffac34016c591fb6bdd 100644 (file)
--- 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;
                }