首页>
外国专利>
METHOD FOR THE REALISTIC ESTIMATION OF FUNCTION RUN TIMES IN PIL SIMULATION
METHOD FOR THE REALISTIC ESTIMATION OF FUNCTION RUN TIMES IN PIL SIMULATION
展开▼
机译:桩仿真中功能运行时间的真实估计方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
The invention relates to a method and device for determining a run time that is needed by a function of a control program for a control unit in a real-time system, executed on a target processor in a processor-in-the-loop (PIL) simulation, wherein the method includes the creation or loading of a graphical development model of the control unit in(to) a development environment, wherein the graphical development model maps the functionality of the control unit using function blocks or function symbols in the graphical development model; selection of at least one function block or function symbol within the graphical development model, particularly selection of a function block or function symbol via a graphical user interface; and automatic generation of the control program for execution on the target processor in accordance with the graphical development model, wherein the control program includes the function which maps the functionality of the selected function block or function symbol. Furthermore, a first run time measuring point associated with the start of the function and a second run time measuring point associated with the end of the function in the control program are inserted into the control program, and the cache of the target processor used for executing the function is put into a predetermined state directly prior to the first run time measuring point, and run time values from which the run time is determined are measured during the execution of the control program on the target processor at the first and second run time measuring points.
展开▼