如何估计 Windows CE 运行时映像的大小

发布于 2024-09-09 01:26:29 字数 304 浏览 1 评论 0原文

我正在开发一个应用程序,需要估计在设备上运行需要多少资源(RAM 和 ROM)。我一直在网上查找,但找不到任何关于如何执行此操作的好提示。

所讨论的系统是一个工业系统。应用程序本身需要有一个 .NET Compact 框架,以及除 Windows CE Core 之外的以下组件:SYSGEN_HTTPD(Web 服务器)、SYSGEN_ATL(活动模板库)、SYSGEN_SOAPTK_SERVER(SOAP 服务器)、SYSGEN_MSXML_HTTP(XML/HTTP)、SYSGEN_CPP_EH_AND_RTTI(例外)处理和运行时类型信息)。

发射机

I am developing an application, and need to estimate how much resources (RAM and ROM) it will need to run on a device. I have been looking online, but couldn't find any good tip on how to do this.

The system in question is an industrial system. The application itself will need to have a .NET Compact framework, and following components besides Windows CE Core: SYSGEN_HTTPD (Web Server), SYSGEN_ATL (Active Template Libraries), SYSGEN_SOAPTK_SERVER (SOAP Server), SYSGEN_MSXML_HTTP (XML/HTTP), SYSGEN_CPP_EH_AND_RTTI (Exception Handling and Runtime Type Information).

Tx

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一抹淡然 2024-09-16 01:26:29

确实无法估计这一点,因为应用程序行为和代码可能有截然不同的要求。进行图像处理的东西可能比简单的 HMI 需要更多的 RAM,但即使是两个执行相同操作的图形应用程序也可能根据图像算法和缓冲区大小的设置方式而有很大不同。

真正了解想法的唯一方法是实际运行应用程序并查看占用空间。我猜您会想要一个至少包含 64MB 或 RAM 和 32MB 闪存的 BOM。根据应用程序的不同,我可能会要求 128MB 的 RAM。 Flash 在很大程度上取决于应用程序需要做什么。

There really is not way to estimate this, becasue application behavior and code can have wildly different requirements. Something that does image manipulation is going to likely require more RAM than a simple HMI, but even two graphical apps that do the same thing could be vastly different based on how image algorithms and buffer sizes are set up.

The only way to greally get an idea is to actually run the application and see what the footprint looks like. I would guess that you're going to want a BOM that includes at least 64MB or RAM and 32MB of flash at a bare minimum. Depending on the app, I'd probably ask for 128MB of RAM. Flash would greatly depend on what the app needs to do.

昵称有卵用 2024-09-16 01:26:29

由于您正在指定核心操作系统组件,并且由于我假设您可以估计自己的应用程序的资源,因此我假设您要求对整个操作系统进行估计。

获得近似值的最简单方法是构建一个模拟器映像(CE6 有一个手臂映像),它应该会给您一种感觉。最终图像的差异取决于您将使用的实际平台的驱动程序的大小。

Since you are specifying core OS components and since I assume you can estimate your own application's resources, I assume you ask for an estimation of the OS as a whole.

The simplest way to have an approximation is to build an emulator image (CE6 has an arm one) and it should give you a sense. The difference with the final image will be with the size of the drivers for the actual platform you will use.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文