Optimize conversion of time points from libtorrent to Qt clocks
commit75d1ac8889be136be54d6fb9638ed2ec62e2355e
authorVladimir Golovnev <glassez@yandex.ru>
Tue, 5 Nov 2024 13:43:43 +0000 (5 16:43 +0300)
committerGitHub <noreply@github.com>
Tue, 5 Nov 2024 13:43:43 +0000 (5 16:43 +0300)
treea1d7bec8a1bb3dbc70e167cbd574f708b4630525
parent051d7137eaf23bcd00cdea4d9b6d355f5aa48aa2
Optimize conversion of time points from libtorrent to Qt clocks

Obtain current date time of Qt and libtorrent clocks only once
for processing entire current libtorrent alerts bunch.

PR #21764.
src/base/bittorrent/sessionimpl.cpp
src/base/bittorrent/sessionimpl.h
src/base/bittorrent/torrentimpl.cpp