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)
Sat, Jun 20, 3:19 AM
Unknown Object (File)
Wed, Jun 17, 4:53 AM
Unknown Object (File)
Tue, Jun 16, 9:18 AM
Unknown Object (File)
Tue, Jun 9, 6:15 PM
Unknown Object (File)
Thu, Jun 4, 6:27 PM
Unknown Object (File)
Sat, May 30, 3:28 PM
Unknown Object (File)
May 17 2026, 12:15 AM
Unknown Object (File)
May 14 2026, 1:28 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 Not Applicable
Unit
Tests Not Applicable

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.