On 08/04/2019 05:47, Joel Sherrill wrote:
On Thu, Apr 4, 2019, 2:39 AM Sebastian Huber <[email protected] <mailto:[email protected]>> wrote:Hello, I would like to introduce two new functions: rtems_get_current_processor() -> rtems_scheduler_get_processor() rtems_get_processor_count() -> rtems_scheduler_get_maximum_processor() https://devel.rtems.org/ticket/3731 https://devel.rtems.org/ticket/3732Is the number returned relative to the physical cores or cores associated with the current scheduler?
No, for this you have: https://docs.rtems.org/branches/master/c-user/scheduling_concepts.html#scheduler-get-processor-set-get-processor-set-of-a-scheduler -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : [email protected] PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ devel mailing list [email protected] http://lists.rtems.org/mailman/listinfo/devel
