ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/branches/newio/modules/m_stats.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/m_stats.c (file contents):
Revision 1927 by michael, Tue Apr 30 17:46:40 2013 UTC vs.
Revision 1968 by michael, Wed May 8 14:59:15 2013 UTC

# Line 317 | Line 317 | stats_usage(struct Client *source_p, int
317      rup = 1;
318  
319    sendto_one(source_p,
320 <             ":%s %d %s R :CPU Secs %d:%d User %d:%d System %d:%d",
320 >             ":%s %d %s R :CPU Secs %d:%02d User %d:%02d System %d:%02d",
321               me.name, RPL_STATSDEBUG, source_p->name, (int)(secs/60), (int)(secs%60),
322               (int)(rus.ru_utime.tv_sec/60), (int)(rus.ru_utime.tv_sec%60),
323               (int)(rus.ru_stime.tv_sec/60), (int)(rus.ru_stime.tv_sec%60));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines