Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT(server, client): Add rolling average for packet statistics #6683

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Hartmnt
Copy link
Member

@Hartmnt Hartmnt commented Jan 6, 2025

  • Make the rolling time window configurable on the server side
  • Proper commit messages
  • More refactoring where possible
  • Translation commit

image

Closes #5872

@Hartmnt Hartmnt added client server feature-request This issue or PR deals with a new feature labels Jan 6, 2025
PacketStats m_statsRemoteRolling = {};

/// This is the packet statistics sliding time window size in seconds
uint32_t m_rollingWindow = 60 * 5;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use std::chrono as this encodes the unit of time explicitly?

@Hartmnt Hartmnt force-pushed the feat_avg_5min branch 16 times, most recently from 1c5d5c6 to d6d30ad Compare January 9, 2025 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client feature-request This issue or PR deals with a new feature server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show a rolling average in Connection Information dialog
2 participants