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
F163167552: D55824.diff
Mon, Jul 20, 5:00 PM
Unknown Object (File)
Mon, Jul 20, 2:24 PM
Unknown Object (File)
Sat, Jul 18, 2:46 PM
Unknown Object (File)
Wed, Jul 15, 7:12 AM
Unknown Object (File)
Wed, Jul 15, 7:12 AM
Unknown Object (File)
Sat, Jul 11, 8:36 PM
Unknown Object (File)
Jun 20 2026, 3:19 AM
Unknown Object (File)
Jun 17 2026, 4:53 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.