VarunUmesh / pysphere

Automatically exported from code.google.com/p/pysphere
0 stars 0 forks source link

Patch for /trunk/pysphere/vi_task.py #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Perceive real timeout values as requested. IE: timeout=5

In [19]: time.clock() - start_time
Out[19]: 0.010006999999999877

In [20]: time.clock() - start_time
Out[20]: 0.013527999999999984

In [21]: start_time = time.time()

In [22]: time.time() - start_time
Out[22]: 10.152903079986572

In [23]: time.time() - start_time
Out[23]: 10.824795961380005

Original issue reported on code.google.com by mwe...@tallshorts.com on 28 May 2012 at 9:54

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r75. Also changed time.clock() for time.time() in 
VIVirtualMachine.wait_for_tools.

Thanks for the patch!

Original comment by argo...@gmail.com on 29 May 2012 at 1:33