16 #ifndef IMPALA_UTIL_PROGRESS_UPDATER_H
17 #define IMPALA_UTIL_PROGRESS_UPDATER_H
20 #include <boost/cstdint.hpp>
39 ProgressUpdater(
const std::string& label, int64_t max,
int update_period = 1);
49 void Update(int64_t delta);
int64_t num_complete() const
bool done() const
Returns if all tasks are done.
std::string ToString() const
Returns a string representation of the current progress.
void set_logging_level(int level)
AtomicInt< int64_t > num_complete_
int last_output_percentage_
int64_t remaining() const
void Update(int64_t delta)