Opened 13 years ago

Last modified 13 years ago

#2985 new Feature Requests

Progress Display Remaining Time

Reported by: daviddoria@… Owned by: Beman Dawes
Milestone: Boost 1.39.0 Component: timer
Version: Boost Development Trunk Severity: Not Applicable
Keywords: Remaining Time Cc:

Description

It would be nice if the progress bar could calculate the estimated time remaining. There would have to be some kind of assumption about the uniformity of the remaining computations, but often I have a simple loop for(i = 0; i < 1e6; i++)

where I am doing the same thing in each iteration, so if I am 50% complete after 10 minutes, I expect to be done in about another 10 minutes.

Of course this is not the case with all loops, but if the thing being timed is known not to exhibit that behavior, then this shouldn't be used.

Change History (2)

comment:1 by Steven Watanabe, 13 years ago

What progress bar are you referring to?

comment:2 by David Doria <daviddoria@…>, 13 years ago

This one:

boost::progress_display show_progress(NumIters); for(unsigned int i = 0; i < NumIters; i++) { Do something ++show_progress; }

~Dave

Note: See TracTickets for help on using tickets.