Software /
code /
prosody-modules
File
mod_statistics_cputotal/mod_statistics_cputotal.lua @ 4314:149ec3abf09e
mod_muc_mention_notifications: Add description in readme
and document incompatibility with mod_block_strangers
author | JC Brand <jc@opkode.com> |
---|---|
date | Wed, 30 Dec 2020 18:44:54 +0100 |
parent | 1386:4557ac5c205d |
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 } } });