changeset 1386:4557ac5c205d

mod_statistics_cputotal: Make global
author Kim Alvefur <zash@zash.se>
date Sat, 19 Apr 2014 15:16:19 +0200
parents da9469e68dee
children db2ff8f29472
files mod_statistics_cputotal/mod_statistics_cputotal.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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