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)
Wed, Oct 7, 7:40 PM
Unknown Object (File)
Tue, Oct 6, 2:52 AM
Unknown Object (File)
Fri, Oct 2, 4:43 AM
Unknown Object (File)
Fri, Oct 2, 4:40 AM
Unknown Object (File)
Fri, Oct 2, 4:37 AM
Unknown Object (File)
Thu, Oct 1, 6:19 AM
Unknown Object (File)
Wed, Sep 30, 1:43 PM
Unknown Object (File)
Wed, Sep 30, 2:51 AM
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.