# HG changeset patch # User Kim Alvefur # Date 1540773194 -3600 # Node ID a83eed629d4b9f855e7b7057279bcf431bb76dca # Parent 6d1c5ecf72c1a148afc9dab41904da64b105e9ca mod_measure_malloc: Use the 'amount' measure type Here too diff -r 6d1c5ecf72c1 -r a83eed629d4b mod_measure_malloc/mod_measure_malloc.lua --- a/mod_measure_malloc/mod_measure_malloc.lua Mon Oct 29 01:21:29 2018 +0100 +++ b/mod_measure_malloc/mod_measure_malloc.lua Mon Oct 29 01:33:14 2018 +0100 @@ -6,7 +6,7 @@ local measures = {}; setmetatable(measures, { __index = function (t, k) - local m = measure("sizes", "memory."..k); t[k] = m; return m; + local m = measure("amount", "memory."..k); t[k] = m; return m; end }); module:hook("stats-update", function ()