Mercurial > prosody-modules
view mod_statistics_cputotal/mod_statistics_cputotal.lua @ 5059:5f1120c284c5
mod_cloud_notify_extensions: Add note about dependency
Noting here because people might not click through to see it on the
mod_cloud_notify_encrypted page.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 24 Sep 2022 09:26:26 +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 } } });