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)
Fri, Oct 9, 10:26 PM
Unknown Object (File)
Fri, Oct 9, 10:22 PM
Unknown Object (File)
Fri, Oct 9, 10:21 PM
Unknown Object (File)
Tue, Oct 6, 12:51 AM
Unknown Object (File)
Tue, Oct 6, 12:47 AM
Unknown Object (File)
Tue, Oct 6, 12:11 AM
Unknown Object (File)
Fri, Oct 2, 8:59 AM
Unknown Object (File)
Tue, Sep 29, 11:46 AM
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!