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
F171079059: D55824.id173671.diff
Tue, Sep 8, 2:09 PM
Unknown Object (File)
Mon, Sep 7, 2:21 PM
Unknown Object (File)
Sun, Sep 6, 3:15 PM
Unknown Object (File)
Fri, Aug 28, 2:00 PM
Unknown Object (File)
Fri, Aug 28, 2:00 PM
Unknown Object (File)
Mon, Aug 24, 8:00 AM
Unknown Object (File)
Sat, Aug 15, 12:41 PM
Unknown Object (File)
Sat, Aug 15, 12:40 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 71359
Build 68242: 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.