什么是Engine.mc(),为什么它会减慢我的模型的速度? [英] What is Engine.mc() and why is it slowing down my model?

查看:95
本文介绍了什么是Engine.mc(),为什么它会减慢我的模型的速度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在AnyLogic模型中遇到了严重的性能问题,并决定进行一些方法分析.罪魁祸首是com.anylogic.engine.Engine.mc(),但是它是做什么的,以及我们如何加快它的速度?

I recently hit a severe performance wall in an AnyLogic model and decided to do some method profiling. The top-level culprit was com.anylogic.engine.Engine.mc(), but what does it do, and how do we speed it up?

推荐答案

有人告诉我,com.anylogic.engine.Engine.mc()是检查事件和过渡条件的位置.如果Engine.mc()使您减速,请检查条件事件和条件转换!

It was explained to me that com.anylogic.engine.Engine.mc() is where conditions in events and transitions are checked. If Engine.mc() is slowing you down, check your condition events and condition transitions!

这篇关于什么是Engine.mc(),为什么它会减慢我的模型的速度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆