SMP API change proposal

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Apr 8 04:58:10 UTC 2019


On 08/04/2019 05:47, Joel Sherrill wrote:
>
>
> On Thu, Apr 4, 2019, 2:39 AM Sebastian Huber 
> <sebastian.huber at embedded-brains.de 
> <mailto:sebastian.huber at embedded-brains.de>> 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/3732
>
>
> Is 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  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list