D17528: Refactor SlaveInterface::calcSpeed
Chinmoy Ranjan Pradhan
noreply at phabricator.kde.org
Wed Dec 12 09:21:45 GMT 2018
chinmoyr created this revision.
chinmoyr added a reviewer: dfaure.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
chinmoyr requested review of this revision.
REVISION SUMMARY
Use QLinkedList instead of a static array.
Use QElapsedTimer instead of QDateTime for elapsed time.
TEST PLAN
Copied several large files(5-20Gb). The difference between current and previous speed calculation was within 0-300Kb.
REPOSITORY
R241 KIO
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D17528
AFFECTED FILES
src/core/slaveinterface.cpp
src/core/slaveinterface_p.h
To: chinmoyr, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181212/34a7aae5/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list