15 #ifndef BORNAGAIN_CORE_COMPUTATION_DELAYEDPROGRESSCOUNTER_H
16 #define BORNAGAIN_CORE_COMPUTATION_DELAYEDPROGRESSCOUNTER_H
Counter for reporting progress (with delay interval) in a threaded computation.
ProgressHandler * mp_progress
DelayedProgressCounter(ProgressHandler *p_progress, size_t interval)
void stepProgress()
Increments inner counter; at regular intervals updates progress handler.
~DelayedProgressCounter()
Maintains information about progress of a computation.