Page MenuHomeFreeBSD

acpi: add counters for cumulative time spent in each sleep state.
ClosedPublic

Authored by adrian on Nov 7 2025, 4:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 11, 3:20 PM
Unknown Object (File)
Thu, Jul 2, 3:14 PM
Unknown Object (File)
Thu, Jul 2, 8:50 AM
Unknown Object (File)
Wed, Jul 1, 1:31 AM
Unknown Object (File)
Tue, Jun 30, 6:01 PM
Unknown Object (File)
Tue, Jun 30, 6:00 PM
Unknown Object (File)
Mon, Jun 29, 1:12 AM
Unknown Object (File)
Mon, Jun 22, 10:19 PM
Subscribers

Details

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

adrian requested review of this revision.Nov 7 2025, 4:39 AM

Seems legit. It's per cpu already so it should be this simple. Maybe check on the size of the cpu so it doesn't spill to a new cache line

This revision is now accepted and ready to land.Nov 7 2025, 4:53 AM
adrian added a reviewer: gallatin.
adrian added a subscriber: gallatin.

Hi @gallatin would you mind helping me eyeball what the cacheline size / offset implications would be for extending the per-CPU ACPI stuff like this? Thanks!