Page MenuHomeFreeBSD

sys/time: add bintime2us() helper
ClosedPublic

Authored by nickbanks_netflix.com on May 12 2026, 2:59 PM.
Tags
None
Referenced Files
F162966775: D56972.id.diff
Sat, Jul 18, 6:56 PM
Unknown Object (File)
Wed, Jul 15, 7:21 AM
Unknown Object (File)
Wed, Jul 15, 7:21 AM
Unknown Object (File)
Sun, Jul 5, 8:28 AM
Unknown Object (File)
Sat, Jun 27, 6:20 AM
Unknown Object (File)
Fri, Jun 19, 10:39 AM
Unknown Object (File)
Jun 13 2026, 1:40 AM
Unknown Object (File)
Jun 13 2026, 12:39 AM
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