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
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30566

Details

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