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
F166602735: D53633.diff
Fri, Aug 14, 8:07 PM
Unknown Object (File)
Thu, Aug 13, 5:08 AM
Unknown Object (File)
Wed, Aug 12, 3:45 PM
Unknown Object (File)
Sat, Aug 8, 6:47 PM
Unknown Object (File)
Sat, Aug 8, 6:40 PM
Unknown Object (File)
Sat, Aug 8, 11:17 AM
Unknown Object (File)
Fri, Aug 7, 3:01 AM
Unknown Object (File)
Wed, Aug 5, 9:01 AM
Subscribers

Details

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68473
Build 65356: arc lint + arc unit

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!