首页> 外国专利> Method for just-in-time compilation and execution of code blocks within discrete event simulations

Method for just-in-time compilation and execution of code blocks within discrete event simulations

机译:离散事件模拟中代码块的即时编译和执行方法

摘要

A method for a discrete event simulation model of a system utilizing a just-in-time compilation for one or more code blocks associated with an event in one or more discrete event simulation models is disclosed. The method comprises the steps of determining the event in a discrete event simulation model, retrieving the code block associated with the event, compiling the code block into an object file using a compiler, linking the object file with a predetermined function in a simulation library, compiling the object file and the predetermined function into a customized dynamic link library, loading the customized dynamic link library (DLL) within a discrete event simulation program execution and linking the customized DLL to a simulation program. The method allows user entered logic to be executed in high speed by integrating a just-in-time compiler embedded into the discrete event simulation model to allow dynamic generation of high speed code blocks within one or more simulations.
机译:公开了一种用于系统的离散事件仿真模型的方法,该系统利用针对一个或多个离散事件仿真模型中与事件相关联的一个或多个代码块的及时编译。该方法包括以下步骤:在离散事件仿真模型中确定事件;检索与事件关联的代码块;使用编译器将代码块编译为目标文件;将目标文件与仿真库中的预定函数链接;将目标文件和预定功能编译到定制的动态链接库中,在离散事件仿真程序执行中加载定制的动态链接库(DLL),并将定制的DLL链接到仿真程序。该方法通过将嵌入到离散事件仿真模型中的即时编译器集成在一起,从而允许在一个或多个仿真中动态生成高速代码块,从而可以高速执行用户输入的逻辑。

著录项

  • 公开/公告号US8826250B2

    专利类型

  • 公开/公告日2014-09-02

    原文格式PDF

  • 申请/专利权人 LENRICK JOHNSTON;QUINT KING;

    申请/专利号US20100828239

  • 发明设计人 LENRICK JOHNSTON;QUINT KING;

    申请日2010-06-30

  • 分类号G06F9/445;G06F17/50;G06F9/455;G06F9/45;G06F9/44;G06F9/46;

  • 国家 US

  • 入库时间 2022-08-21 16:02:23

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号