mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Minor update to cpu output, mithro said it was confusing.
This commit is contained in:
parent
48f40f06ae
commit
700fe71958
@ -97,9 +97,10 @@ class Status(callbacks.Privmsg):
|
||||
activeThreads = threading.activeCount()
|
||||
response = ('I have taken %.2f seconds of user time and %.2f seconds '
|
||||
'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,
|
||||
utils.nItems('thread', world.threadsSpawned, 'spawned'),
|
||||
utils.nItems('thread', world.threadsSpawned),
|
||||
activeThreads))
|
||||
mem = 'an unknown amount'
|
||||
pid = os.getpid()
|
||||
|
Loading…
Reference in New Issue
Block a user