libzypp 17.31.23
|
Public Types | |
using | clock = std::chrono::steady_clock |
Public Member Functions | |
void | updateStats (double dltotal=0.0, double dlnow=0.0) |
Public Attributes | |
std::optional< clock::time_point > | _timeStart |
Start total stats. | |
std::optional< clock::time_point > | _timeLast |
Start last period(~1sec) | |
double | _dnlTotal = 0.0 |
Bytes to download or 0 if unknown. | |
double | _dnlLast = 0.0 |
Bytes downloaded at period start. | |
double | _dnlNow = 0.0 |
Bytes downloaded now. | |
int | _dnlPercent = 0 |
Percent completed or 0 if _dnlTotal is unknown. | |
double | _drateTotal = 0.0 |
Download rate so far. | |
double | _drateLast = 0.0 |
Download rate in last period. | |
Definition at line 46 of file MediaNetwork.cc.
using internal::ProgressTracker::clock = std::chrono::steady_clock |
Definition at line 48 of file MediaNetwork.cc.
|
inline |
Definition at line 62 of file MediaNetwork.cc.
std::optional<clock::time_point> internal::ProgressTracker::_timeStart |
Start total stats.
Definition at line 50 of file MediaNetwork.cc.
std::optional<clock::time_point> internal::ProgressTracker::_timeLast |
Start last period(~1sec)
Definition at line 51 of file MediaNetwork.cc.
double internal::ProgressTracker::_dnlTotal = 0.0 |
Bytes to download or 0 if unknown.
Definition at line 53 of file MediaNetwork.cc.
double internal::ProgressTracker::_dnlLast = 0.0 |
Bytes downloaded at period start.
Definition at line 54 of file MediaNetwork.cc.
double internal::ProgressTracker::_dnlNow = 0.0 |
Bytes downloaded now.
Definition at line 55 of file MediaNetwork.cc.
int internal::ProgressTracker::_dnlPercent = 0 |
Percent completed or 0 if _dnlTotal is unknown.
Definition at line 57 of file MediaNetwork.cc.
double internal::ProgressTracker::_drateTotal = 0.0 |
Download rate so far.
Definition at line 59 of file MediaNetwork.cc.
double internal::ProgressTracker::_drateLast = 0.0 |
Download rate in last period.
Definition at line 60 of file MediaNetwork.cc.