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
F166307259: D55824.id173671.diff
Wed, Aug 12, 7:31 PM
Unknown Object (File)
Mon, Aug 10, 11:09 AM
Unknown Object (File)
Sun, Aug 9, 4:48 PM
Unknown Object (File)
Sun, Aug 9, 3:27 PM
Unknown Object (File)
Sun, Aug 9, 7:23 AM
Unknown Object (File)
Sat, Aug 8, 4:56 AM
Unknown Object (File)
Sat, Aug 8, 3:50 AM
Unknown Object (File)
Fri, Aug 7, 7:42 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.