[AD] [ alleg-Feature Requests-2971651 ] Number of CPUs/Cores |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Feature Requests item #2971651, was opened at 2010-03-16 19:59
Message generated for change (Tracker Item Submitted) made by javs
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355665&aid=2971651&group_id=5665
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Miquel Matthew Burns (javs)
Assigned to: Nobody/Anonymous (nobody)
Summary: Number of CPUs/Cores
Initial Comment:
This is for Allegro 5
I would like to see a function that can return the number of cores a system has. With this function, I could dynamically check to see if it's worth making multiple threads on a system. Also, for ex_threads2, it would allow it to use all cores on a hyper-threaded 6-core processors to use all threads on the system. Currently set to 9 (also, could scale down to not use more than needed)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355665&aid=2971651&group_id=5665