Page MenuHomeFreeBSD

kern_time: Honor the precise option when counting diff
ClosedPublic

Authored by aokblast on Mar 12 2026, 9:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 12:15 AM
Unknown Object (File)
Thu, May 14, 1:28 PM
Unknown Object (File)
Thu, May 14, 9:42 AM
Unknown Object (File)
Wed, May 13, 7:24 PM
Unknown Object (File)
Wed, May 13, 5:29 PM
Unknown Object (File)
Sun, May 10, 5:37 PM
Unknown Object (File)
Sun, May 10, 5:37 PM
Unknown Object (File)
Sat, May 9, 11:27 PM
Subscribers

Details

Summary

When preecise option is used, the true elapsed time should also use the
precise timer.

This fixes the test case sleep_for.signals.pass.cpp in libcxx.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71360
Build 68243: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 12 2026, 2:08 PM

I read through everything two different times, and convinced myself both times this is the proper change.