SetProgressPercentage

It would be nice to be able to set a raw progress percentage, like 43% or something, to show in the GUI. I know you can set the estimated total number of actions, but it may not be possible to come up with a good estimate.

 

For example, a build like:

-init some stuff

-Loop over all files in a directory (say, 130 files)

--Possibly skip to end of loop (2 actions)

--Do some stuff (30 actions)

--possibly do some other stuff (140 actions)

--possibly do some other stuff (20 actions)

 

It's almost impossible to estimate the total number of actions that will be run. However, I would get a much better feel for the progress of the build if I could simply say: SetProgressPercentage(FilesProcessed / 130 * 100). The bar will sit still for long periods, and won't advance at all during the Init phase, but that's an acceptable trade-off, given that the Init phase represents less than 1% of the time anyway.

Steve