[RTEMS Project] #2627: Fix CPU time used for threads on SMP

RTEMS trac trac at rtems.org
Wed Mar 9 06:50:03 UTC 2016


#2627: Fix CPU time used for threads on SMP
-----------------------------+------------------------------
 Reporter:  sebastian.huber  |       Owner:  sebastian.huber
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:  4.12
Component:  cpukit           |     Version:  4.10
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by sebastian.huber):

 The profiling is optional since it may severely impact the performance of
 the operating system. Some SMP chips are not really well designed and
 offer no processor private access to timer and counter modules. Instead
 you must use on-chip peripheral over the system bus.

 Adding some counters shouldn't be a big deal, but please create a new
 ticket for this. This ticket is about fixing an existing statistic so that
 it works on SMP.

 Determining the per-processor idle time is difficult with the global fixed
 priority schedulers if they manage more than one processor and I don't
 think this value is interesting.

--
Ticket URL: <http://devel.rtems.org/ticket/2627#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list