mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
The 6 Hours speed plot only shows around 2 hours #4534
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#4534
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @itsdani on GitHub (Jul 18, 2016).
I haven't checked the exact time frame of the plot, but a point on the 6 hours plot is at ~1.25 grid when it goes out of the 30 Minutes plot, which means that the full 6 Hours plot shows only around 2 hours.
I have seen that there were recent issues with the 6 Hours plot CPU usage (#4120), maybe this issue is related to its fix (#4261) (I did not check the code though)
Versions:
Windows 8.1
qBittorrent 3.3.5
Qt 5.6.1
Libtorrent 1.0.9.0
Boost 1.61.0
@ngosang commented on GitHub (Jul 18, 2016):
@sledgehammer999 ping.
@itsdani commented on GitHub (Jul 21, 2016):
I've briefly looked into the code, and i think this causes the bug.
It should be
m_counter6Hour = (m_counter6Hour + 1) % 18;instead of the% 6(and not 36, since it has a double-sized buffer compared to the 30 min plot)