Page MenuHomeFreeBSD

sys/time: add bintime2us() helper
ClosedPublic

Authored by nickbanks_netflix.com on May 12 2026, 2:59 PM.
Tags
None
Referenced Files
F167468675: D56972.id177674.diff
Fri, Aug 21, 11:59 PM
Unknown Object (File)
Thu, Aug 20, 4:41 PM
Unknown Object (File)
Sat, Aug 8, 4:02 PM
Unknown Object (File)
Sat, Aug 8, 10:54 AM
Unknown Object (File)
Sun, Aug 2, 5:57 AM
Unknown Object (File)
Sun, Aug 2, 4:32 AM
Unknown Object (File)
Sat, Aug 1, 5:11 AM
Unknown Object (File)
Thu, Jul 30, 1:25 PM
Subscribers

Details

Summary

Add a microsecond conversion helper to complement the existing
bintime2ns(). The body mirrors bintime2ns().

This will be used by an upcoming eventlog(9) framework as well as
the TCP code in upcoming changes.

Sponsored by: Netflix

Signed-off-by: Nick Banks <nickbanks@netflix.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable