首页> 外国专利> 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 according to a kind of event, 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 simulation model to allow dynamic generation of high speed code blocks within one or more simulations.
机译:公开了一种用于系统的离散事件仿真模型的方法,该系统利用针对一个或多个离散事件仿真模型中与事件相关联的一个或多个代码块的及时编译。该方法包括以下步骤:根据事件的种类在离散事件仿真模型中确定事件;检索与事件相关的代码块;使用编译器将代码块编译为目标文件;将目标文件与预定链接仿真库中的功能,将目标文件和预定功能编译到定制的动态链接库中,在离散事件仿真程序执行中加载定制的动态链接库(DLL)并将定制的DLL链接到仿真程序。该方法允许通过集成嵌入到仿真模型中的即时编译器来高速执行用户输入的逻辑,以允许在一个或多个仿真中动态生成高速代码块。

著录项

  • 公开/公告号US9098293B2

    专利类型

  • 公开/公告日2015-08-04

    原文格式PDF

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

    申请/专利号US201313841128

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

    申请日2013-03-15

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

  • 国家 US

  • 入库时间 2022-08-21 15:17:52

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号