Changeset c8b6745 in rtems-docs


Ignore:
Timestamp:
Mar 10, 2017, 9:26:35 PM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
26b6f84
Parents:
ca2926f
git-author:
Joel Sherrill <joel@…> (03/10/17 21:26:35)
git-committer:
Joel Sherrill <joel@…> (04/25/17 17:33:18)
Message:

c-user/rate_monotonic_manager.rst: Use Latex math for utilization formulas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c-user/rate_monotonic_manager.rst

    rca2926f rc8b6745  
    267267
    268268The Processor Utilization Rule requires that processor utilization be
    269 calculated based upon the period and execution time of each task.  The fraction
    270 of processor time spent executing task index is ``Time(index) /
    271 Period(index)``.  The processor utilization can be calculated as follows:
    272 
    273 .. code-block:: c
    274 
    275     Utilization = 0
    276     for index = 1 to maximum_tasks
    277         Utilization = Utilization + (Time(index)/Period(index))
     269calculated based upon the period and execution time of each task.
     270The fraction of processor time spent executing task index is ``Time(i)
     271/ Period(i)``.  The processor utilization can be calculated as follows
     272where n is the number of tasks in the set being analyzed:
     273
     274.. math::
     275
     276    Utilization = \sum_{i=1}^{n} Time_i/Period_i
    278277
    279278To ensure schedulability even under transient overload, the processor
    280279utilization must adhere to the following rule:
    281280
    282 .. code-block:: c
    283 
    284     Utilization = maximum_tasks * (2**(1/maximum_tasks) - 1)
     281.. math::
     282
     283    maximumUtilization = n * (2^{\frac{1}{n}} - 1)
    285284
    286285As the number of tasks increases, the above formula approaches ln(2) for a
Note: See TracChangeset for help on using the changeset viewer.