HomeFreeBSD

pf: switch to getmicro(up)time()

Description

pf: switch to getmicro(up)time()

It is reported that micro(up)time() performs poorly in certain
virtualisation scenarios. Absolute accuracy isn't required here, so
switch to the slightly less accurate (as per the man page) get-variants.

PR: 295043
MFC after: 3 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on May 21 2026, 11:31 AM
Parents
rG64327f769cee: pf: fix incorrect table decoding in netlink
Branches
Unknown
Tags
Unknown