Mercurial > prosody-modules
view mod_statistics_cputotal/mod_statistics_cputotal.lua @ 6080:532bd77adf2d
mod_sasl2_sm: Add dependency to sasl2_bind2 as stated in the Readme to module and rockspec
| author | Menel <menel@snikket.de> |
|---|---|
| date | Sat, 21 Dec 2024 21:25:15 +0100 |
| 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 } } });
