消息 [120154]
On Mon, Nov 1, 2010 at 2:09 PM, Antoine Pitrou <report@bugs.python.org> wrote:
..
> The problem is time.clock(), since it does two wildly different things
> depending on the OS.
> I would suggest to deprecate time.clock() at the same time as we add
> time.wallclock(). For the Unix-specific definition of time.clock(),
> there is already os.times() (which gives even richer information).
+1, but doing something like that should be discussed on python-ideas
first. We should also weigh this against other proposals such as
exposing gettimeofday. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2010-11-01 18:55:37 | belopolsky | 修改 | recipients:
+ belopolsky, pitrou, kristjan.jonsson, eric.araujo, michael.foord |
| 2010-11-01 18:55:36 | belopolsky | 链接 | issue10278 messages |
| 2010-11-01 18:55:35 | belopolsky | 创建 | |
|