HomeFreeBSD

libalias: Promote per instance global variable timeStamp

Description

libalias: Promote per instance global variable timeStamp

Summary:

  • Use LibAliasTime as a real global variable for central timekeeping.
  • Reduce number of syscalls in user space considerably.
  • Dynamically adjust the packet counters to match the second resolution.
  • Only check the first few packets after a time increase for expiry.

Discussed with: hselasky
Differential Revision: https://reviews.freebsd.org/D30566

(cherry picked from commit ef828d39be8e4b6d922db080ed41611702dec56d)

Details

Provenance
donnerAuthored on May 25 2021, 7:07 AM
Differential Revision
D30566: libalias: Promote per instance global variable timeStamp
Parents
rGe3c21cc51bec: libalias: Stats are unsigned
Branches
Unknown
Tags
Unknown