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
F147588574: D53633.id166015.diff
Thu, Mar 12, 3:46 AM
Unknown Object (File)
Tue, Mar 10, 12:26 PM
Unknown Object (File)
Tue, Mar 10, 12:55 AM
Unknown Object (File)
Wed, Mar 4, 11:11 AM
Unknown Object (File)
Tue, Mar 3, 6:36 PM
Unknown Object (File)
Tue, Mar 3, 5:01 PM
Unknown Object (File)
Tue, Mar 3, 4:45 PM
Unknown Object (File)
Tue, Mar 3, 4:45 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!