Diff

mod_measure_memory/mod_measure_memory.lua @ 3365:a5a5f85d7ca1

mod_measure_memory: Use the 'amount' measure type
author Kim Alvefur <zash@zash.se>
date Mon, 29 Oct 2018 01:10:10 +0100
parent 2708:07d6077d2db7
child 4040:e17c937a71b3
line wrap: on
line diff
--- a/mod_measure_memory/mod_measure_memory.lua	Sun Oct 28 19:01:12 2018 +0100
+++ b/mod_measure_memory/mod_measure_memory.lua	Mon Oct 29 01:10:10 2018 +0100
@@ -5,7 +5,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
 });