Minor update to cpu output, mithro said it was confusing.

This commit is contained in:
Jeremy Fincher 2004-02-27 08:20:59 +00:00
parent 48f40f06ae
commit 700fe71958

View File

@ -97,9 +97,10 @@ class Status(callbacks.Privmsg):
activeThreads = threading.activeCount() activeThreads = threading.activeCount()
response = ('I have taken %.2f seconds of user time and %.2f seconds ' response = ('I have taken %.2f seconds of user time and %.2f seconds '
'of system time, for a total of %.2f seconds of CPU ' 'of system time, for a total of %.2f seconds of CPU '
'time. %sOut of %s I have %s active.' % 'time. %s'
'I have spawned %s; I currently have %s still running.' %
(user, system, user + system, children, (user, system, user + system, children,
utils.nItems('thread', world.threadsSpawned, 'spawned'), utils.nItems('thread', world.threadsSpawned),
activeThreads)) activeThreads))
mem = 'an unknown amount' mem = 'an unknown amount'
pid = os.getpid() pid = os.getpid()