 |
Belle II Software
release-05-01-25
|
11 #include <framework/core/Module.h>
25 class ProgressBarModule :
public Module {
35 virtual void event()
override;
double m_lastPrint
Timestamp when we last printed something (ns).
virtual void initialize() override
Init the module.
virtual void event() override
Show progress.
long m_nTotal
Total number of events.
int m_progress
progress in percent since we last printed
virtual void terminate() override
Don't break the terminal.
bool m_isTTY
If true we don't show the interactive progress bar but just print a new one every time the progress a...
Abstract base class for different kinds of events.
ProgressBarModule()
Constructor.
long m_evtNr
Number of processed events.
double m_startTime
Start time (ns).