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

查看:24
本文介绍了什么是 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天全站免登陆