Title: os.times function missing
Type: behaviour Severity: minor
Components: Core Versions: Jython 2.7, Jython 2.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: zyasoft Nosy List: drtimcouper, fwierzbicki, zyasoft
Priority: low Keywords:

Created on 2010-02-20.15:14:54 by drtimcouper, last changed 2015-02-07.05:47:18 by zyasoft.

msg5547 (view) Author: Jim Baker (zyasoft) Date: 2010-02-22.23:27:06
According to the docs, os.times should return a 5-tuple of floating point numbers indicating accumulated (processor or other) times, in seconds. The items are: user time, system time, children’s user time, children’s system time, and elapsed real time since a fixed point in the past, in that order.

Windows does not support the last three elements. We can't get the children's time readily in Java, at least without going to JNI, so for the time being we follow the Window's subset where the elements are zero.
msg5548 (view) Author: Jim Baker (zyasoft) Date: 2010-02-22.23:38:38
On second thought, this is not going to readily work - we need all the time for the process. The MX beans can only provide the info for a given thread, such as the current thread. So this will require looking at the posix implementation to see if we can extend to get the desired info,
msg9458 (view) Author: Jim Baker (zyasoft) Date: 2015-01-28.02:57:58
Fixed as of
Date User Action Args
2015-02-07 05:47:18zyasoftsetstatus: pending -> closed
2015-01-28 02:57:58zyasoftsetstatus: open -> pending
assignee: zyasoft
resolution: remind -> fixed
messages: + msg9458
title: os.times function missing from jython 2.5.1 -> os.times function missing
2013-02-26 17:31:08fwierzbickisetnosy: + fwierzbicki
2013-02-19 18:53:03fwierzbickisetversions: + Jython 2.5
2013-02-19 18:52:50fwierzbickisetresolution: accepted -> remind
versions: + Jython 2.7, - Deferred
2010-09-09 05:53:19zyasoftsetassignee: zyasoft -> (no value)
2010-08-22 22:41:54zyasoftsetpriority: low
2010-07-20 05:28:18zyasoftsetversions: + Deferred, - 2.5.1
2010-02-22 23:38:38zyasoftsetmessages: + msg5548
2010-02-22 23:27:06zyasoftsetassignee: zyasoft
resolution: accepted
messages: + msg5547
nosy: + zyasoft
title: os.times() module missing from jython 2.5.1 -> os.times function missing from jython 2.5.1
2010-02-20 15:14:54drtimcoupercreate