SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
|
A singleton class providing a standard output progress bar, including remaining time estimate. More...
#include <global_calls.hpp>
Public Member Functions | |
void | start (size_t workSize) |
Start displaying the progress bar and define the amout of work that's left to be done. | |
void | update (size_t workProgress) |
Update the progress bar, 0 <= workProgress <= workSize. | |
void | finish () |
Call when the work is done to stop the progress bar. | |
Static Public Member Functions | |
static CoutProgress & | get () |
Singleton instance getter. | |
static void | printFormattedTime (size_t sec) |
Protected Attributes | |
size_t | m_workSize |
size_t | m_workProgress |
int | m_lastPercentage |
QElapsedTimer | m_startTime |
Private Member Functions | |
CoutProgress (CoutProgress const &) | |
void | operator= (CoutProgress const &) |
A singleton class providing a standard output progress bar, including remaining time estimate.