# HG changeset patch # User Matthew Wild # Date 1472656216 -3600 # Node ID 6210dfaec84fa95f1669aaa9baa0a0a3cb504795 # Parent d7b1bc069c120a65e511020a14f05716d29c0984 moduleapi: 'duration' became 'times' diff -r d7b1bc069c12 -r 6210dfaec84f core/moduleapi.lua --- a/core/moduleapi.lua Wed Aug 31 16:10:00 2016 +0100 +++ b/core/moduleapi.lua Wed Aug 31 16:10:16 2016 +0100 @@ -412,7 +412,7 @@ end function api:measure_object_event(events_object, event_name, stat_name) - local m = self:measure(stat_name or event_name, "duration"); + local m = self:measure(stat_name or event_name, "times"); local function handler(handlers, _event_name, _event_data) local finished = m(); local ret = handlers(_event_name, _event_data);