| 18 | } |
| 19 | |
| 20 | void OsImageCopier::UpdateStatistics(DWORD t0, DWORD t1, DWORD offset) |
| 21 | { |
| 22 | m_dlg->SetPercentage(100.0*(offset-OSSTART)/(OSEND-OSSTART)); |
| 23 | |
| 24 | double bps= 1000.0*(offset-OSSTART)/(t1-t0); |
| 25 | m_dlg->SetSpeed(bps); |
| 26 | m_dlg->SetRemainingTime((long)((OSEND-offset)/bps)); |
| 27 | } |
| 28 | |
| 29 | bool OsImageCopier::copy(OsImageReader *reader, OsImageWriter *writer) |
| 30 | { |
nothing calls this directly
no test coverage detected