[Bug 941925] Re: Time gets % CPU time for a task wrong for long jobs

2012-02-28 Thread Richard Earnshaw
Still not quite there. it's 11:55:49.67 is 2^32 / 100 ms -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/941925 Title: Time gets % CPU time for a task wrong for long jobs To manage notifications abou

[Bug 941925] Re: Time gets % CPU time for a task wrong for long jobs

2012-02-28 Thread Richard Earnshaw
Erm, not quite. If time captures the time in milliseconds, overflow in the percentage calculation will occur after 2^32 ms, which is 11:55:49.67 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/941925 T

[Bug 941925] Re: Time gets % CPU time for a task wrong for long jobs

2012-02-28 Thread Richard Earnshaw
34548.03user 2220.37system 10:26:49elapsed 97%CPU (0avgtext+0avgdata 1651664maxresident)k Which looks fine. Interestingly 10 * 3600 is 0x8ca0 while 20 * 3600 is 0x11940 That might suggest the overflow starts to happen at about 18:12:16 -- You received this bug notification because you are a me

[Bug 941925] Re: Time gets % CPU time for a task wrong for long jobs

2012-02-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: time (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/941925 Title: Time g