.Modelica_DeviceDrivers.Blocks.OperatingSystem.ProcessPriority

Information

Sets the process priority of the current process. Different priority levels are supported:

Using the "High Priority" and "Real-Time" priorities in Linux will usually require "root" privileges for the simulation process. Using the "Real-Time" priority in Linux with a low-latency kernel as provided by the PREEMPT_RT patch will even provide limited (however, implementation specific limitations given below still apply) "hard" real-time capabilities (see e.g., https://www.osadl.org/Realtime-Linux.projects-realtime-linux.0.html).

Typically, this block will be used together with the RealtimeSynchronize block for improving the real-time performance.


Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos