Changeset

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
parents 3364:264eab9d501c
children 3366:6d1c5ecf72c1
files mod_measure_memory/mod_measure_memory.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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
 });