When working with an Xcode project:
When working with a Swift Package Manager manifest:
Select a package version:
1.1.1
main
Swift package to retrieve realtime information on CPU energy consumption on Apple platforms using the CPU's Closed Loop Performance Controller (CLPC).