mp-lee / mandelbulber

Automatically exported from code.google.com/p/mandelbulber
GNU General Public License v3.0
1 stars 0 forks source link

Proposed patch: fix negative times in progress display #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Render images for an hour or so (possibly 36 minutes of CPU time)
2. Look at the time remaining display

What is the expected output? What do you see instead?
The "to go", "elapsed" and "iter/s" fields will at some point start showing 
negative numbers.  Instead, they should show positive numbers all the time.

What version of the product are you using? On what operating system?
Recent SVN on Linux (Ubuntu 10.04, i386)

Please provide any additional information below.
I've attached a patch that resolves the problem on my system.  Additionally, 
the patch makes real_clock() return a wall-time instead of a cpu-time 
measurement; the rationale for this is further explained in the patch.

The patch is based on svn trunk r130

Original issue reported on code.google.com by jep...@gmail.com on 9 May 2011 at 2:54

Attachments:

GoogleCodeExporter commented 8 years ago
Committed as r131

Original comment by jep...@unpythonic.net on 10 May 2011 at 2:59