0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-04 14:48:56 +02:00

stats R: Make the CPU time display less ugly.

This commit is contained in:
Jilles Tjoelker 2012-06-04 00:49:59 +02:00
parent 294d32bf16
commit e4ce3b5409

View file

@ -861,7 +861,7 @@ stats_usage (struct Client *source_p)
rup = 1;
sendto_one_numeric(source_p, RPL_STATSDEBUG,
"R :CPU Secs %d:%d User %d:%d System %d:%d",
"R :CPU Secs %d:%02d User %d:%02d System %d:%02d",
(int) (secs / 60), (int) (secs % 60),
(int) (rus.ru_utime.tv_sec / 60),
(int) (rus.ru_utime.tv_sec % 60),