Software /
code /
prosody-modules
File
mod_statistics_cputotal/mod_statistics_cputotal.lua @ 6061:26bfcb442138
mod_sasl2: update README.md, the mentioned xep is stable now and not in the inbox anymore.
author | Menel <menel@snikket.de> |
---|---|
date | Sun, 24 Nov 2024 16:27:27 +0100 (4 months ago) |
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 } } });