Changeset c8b6745 in rtems-docs
- Timestamp:
- 03/10/17 21:26:35 (7 years ago)
- Branches:
- 5, 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c-user/rate_monotonic_manager.rst
rca2926f rc8b6745 267 267 268 268 The 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)) 269 calculated based upon the period and execution time of each task. 270 The fraction of processor time spent executing task index is ``Time(i) 271 / Period(i)``. The processor utilization can be calculated as follows 272 where 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 278 277 279 278 To ensure schedulability even under transient overload, the processor 280 279 utilization must adhere to the following rule: 281 280 282 .. code-block:: c283 284 Utilization = maximum_tasks * (2**(1/maximum_tasks)- 1)281 .. math:: 282 283 maximumUtilization = n * (2^{\frac{1}{n}} - 1) 285 284 286 285 As the number of tasks increases, the above formula approaches ln(2) for a
Note: See TracChangeset
for help on using the changeset viewer.