Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package traversal algos #2

Open
fearful-symmetry opened this issue Nov 16, 2018 · 2 comments
Open

Package traversal algos #2

fearful-symmetry opened this issue Nov 16, 2018 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@fearful-symmetry
Copy link
Owner

We might want to implement something like this:

http://software.intel.com/en-us/articles/intel-64-architecture-processor-topology-enumeration

so we can figure out how many physical processors are on a system.

@fearful-symmetry
Copy link
Owner Author

So far, the most readable example of this algo I've found is in the intel power_gadget source.

@fearful-symmetry
Copy link
Owner Author

I added a little algo to 56bd1c6

For now, I'm kind of putting this on the backburner; I'm wondering if having a separate API for multi-cpu systems would be best, or a custom type that allows the user to specify multiple devices. Something like:

NewRAPLFromThreads([]int) (RAPLHandlerArray, error)
NewRAPLDetectPackages() (RAPLHandlerArray, error)

@fearful-symmetry fearful-symmetry added this to the v0.1.0 Beta milestone Nov 22, 2018
@fearful-symmetry fearful-symmetry added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant