a header only progress bar library for cpp
- Track execution time with high precision
- Provides linear execution time prediction
- Lock-free
- Low overhead (less than 1%)
- ProgressBar(T totalTaskNumbers=0) - Constructor
- Create a progressbar with given total number of tasks
- init(int totalTaskNumbers,float precision=0)
- Initialize the progressbar, set the total number of tasks and update precision (default 1, ranging from 0~1)
- setWidth(int width)
- Set the width of progressbar to avoid exceeding the console
- inc(int taskNumbers=1)
- Submit the number of completed tasks (default 1)
- update()
- Update the displayed progressbar
- Non-linear execution time prediction
- Visualize execution progress