Mercurial > prosody-modules
view mod_statistics_cputotal/mod_statistics_cputotal.lua @ 4142:6906562af2ee
mod_muc_inject_mentions: Allow preffixes to be used after a new line
author | Seve Ferrer <seve@delape.net> |
---|---|
date | Sun, 20 Sep 2020 14:45:58 +0200 |
parents | 4557ac5c205d |
children |
line wrap: on
line source
-- Provides total CPU time, useful for DERIVE module:set_global(); module:provides("statistics", { statistics = { cpu_total = { -- milliseconds of CPU time used get = function() return os.clock() * 1000; end } } });