- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | giampaolo.rodola |
|---|---|
| Recipients | giampaolo.rodola, paul.moore, pitrou, steve.dower, tim.golden, yanirh, zach.ware |
| Date | 2018-03-28.21:04:21 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1522271061.48.0.467229070634.issue33166@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
I created a psutil branch using GetLogicalProcessorInformation() to determine both logical and physical CPUs: https://github.com/giampaolo/psutil/pull/1257 According to https://stackoverflow.com/questions/31209256 basically all Windows APIs are unreliable and GetLogicalProcessorInformationEx() is what should really be used. That is available only starting from Windows 7 though so apparently what we want is GetLogicalProcessorInformationEx() and if not available fallback on GetActiveProcessorCount(ALL_PROCESSOR_GROUPS) which may still report the wrong number of CPUs on 32 bit processes. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-03-28 21:04:21 | giampaolo.rodola | set | recipients: + giampaolo.rodola, paul.moore, pitrou, tim.golden, zach.ware, steve.dower, yanirh |
| 2018-03-28 21:04:21 | giampaolo.rodola | set | messageid: <1522271061.48.0.467229070634.issue33166@psf.upfronthosting.co.za> |
| 2018-03-28 21:04:21 | giampaolo.rodola | link | issue33166 messages |
| 2018-03-28 21:04:21 | giampaolo.rodola | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
