This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Real-Time Performance Baseline

Collects execution-time measurements and establishes a performance baseline.

This check builds, downloads, and executes the real-time application on the target computer. When the check passes, it displays the following information:

  • Margin before CPU overload (0% indicates CPU overload) — A table containing the real-time application task name, the sample rate, and the margin.

    Margin is the minimum value of headroom for a task over all the measured samples.

    Headroom is the time between the end of execution and the start of the next sample, as a percentage of sample time. For example, if the sample time is 1.2 ms and a task takes 0.93 ms to execute, the headroom is (1.2 - 0.93)/1.2, or 22.5%.

    As the margin approaches 0%, the application gets closer to overloading the CPU.

  • Average CPU Usage — A pie chart showing the average CPU resources that the real-time application uses, as a percentage of available resources.

    The available CPU resources include all of the processors on a multicore target computer. For example, a single-tasking model running on a quad-core processor cannot exceed 25% CPU usage.

    The background task aggregates the CPU time for all operating system tasks that are not related to application execution. These tasks include updating the target screen, communicating with the development computer, and so on. It also includes the time that the CPU is idle.

See Also