I have a program that has to calculate a large number of permutions (12! to be exact) and I would like to be able to display an estimate of long till the program is finished it's calculations (something similar to what IE displays when downloading a file).
I was thinking of using the gettickcount api and having the program go through several iterations of the calculations and then determine a runtime from that, periodically updating the estimate.
Is there a better way? Troy Williams B.Eng.
fenris@hotmail.com
I was thinking of using the gettickcount api and having the program go through several iterations of the calculations and then determine a runtime from that, periodically updating the estimate.
Is there a better way? Troy Williams B.Eng.
fenris@hotmail.com