# HG changeset patch # User Kim Alvefur # Date 1397913379 -7200 # Node ID 4557ac5c205da2e8761074600e3d09ff4c43d3dd # Parent da9469e68deeb693d215706fa6d0b79fdfa69273 mod_statistics_cputotal: Make global diff -r da9469e68dee -r 4557ac5c205d mod_statistics_cputotal/mod_statistics_cputotal.lua --- a/mod_statistics_cputotal/mod_statistics_cputotal.lua Tue Apr 15 14:22:18 2014 -0400 +++ b/mod_statistics_cputotal/mod_statistics_cputotal.lua Sat Apr 19 15:16:19 2014 +0200 @@ -1,5 +1,7 @@ -- Provides total CPU time, useful for DERIVE +module:set_global(); + module:provides("statistics", { statistics = { cpu_total = { -- milliseconds of CPU time used