#include <ProgressPrinter.h>
Definition at line 26 of file ProgressPrinter.h.
Public Member Functions | |
| ProgressPrinter (const char *fmt=NULL,...) | |
| Initialize the progress meter. | |
| void | start (const char *fmt,...) |
| Restart the progress meter. | |
| void | done (const char *fmt=" done",...) |
| Print the "done" message, along with the elapsed time, plus any additional info. | |
Protected Attributes | |
| struct timeval | start_ |
| oasys::ProgressPrinter::ProgressPrinter | ( | const char * | fmt = NULL, |
|
| ... | ||||
| ) |
Initialize the progress meter.
Definition at line 26 of file ProgressPrinter.cc.
References dtnsim::gettimeofday(), and start_.
| void oasys::ProgressPrinter::start | ( | const char * | fmt, | |
| ... | ||||
| ) |
Restart the progress meter.
Definition at line 43 of file ProgressPrinter.cc.
References dtnsim::gettimeofday(), and start_.
| void oasys::ProgressPrinter::done | ( | const char * | fmt = " done", |
|
| ... | ||||
| ) |
Print the "done" message, along with the elapsed time, plus any additional info.
Definition at line 59 of file ProgressPrinter.cc.
References dtnsim::gettimeofday(), start_, and TIMEVAL_DIFF_MSEC.
struct timeval oasys::ProgressPrinter::start_ [read, protected] |
Definition at line 45 of file ProgressPrinter.h.
Referenced by done(), ProgressPrinter(), and start().
1.5.3