请教wince驱动、内核性能测试问题——ILTiming.exe,OSBench.exe以及CETK的使用问题

mjj19680827   2009-5-6 16:18 楼主
终于把驱动都移植完了,现在到了一个全新的阶段,测试和优化驱动,但是刚才瞎折腾了几小时也没有收获,现在特来请教

请教wince驱动、内核性能测试问题——ILTiming.exe,OSBench.exe以及CETK的使用问题
ILTiming.exe的源码在C:\WINCE500\PUBLIC\COMMON\OAK\UTILS下
ILTiming.exe在C:\WINCE500\PBWorkspaces\ARMsys2440\RelDir\smdk2440a_ARMV4I_Release工程目录下有,但是我拷贝ILTiming.exe到我的2440 机器上却没有反应。咋回事呢?估计是我方法不对,请做过的告诉一声。

OSBench.exe和ILTiming.exe也是类似的,暂时还没有用到。

CETK也是,用过这几个的情指点一下该如何使用啊。

爆料一下,刚才我在MSN问过好多人,很多人没有用过这些东西,莫非大家真是不讲这些数据,凭感觉的?我记得很多大公司都要求会这些的。

回复评论 (55)

我们公司没用,也用不来啊!等高手解答。
点赞  2009-5-6 16:49
我拷贝ILTiming.exe到我的2440 机器上双击也不回运行,咋回事呢?
点赞  2009-5-6 16:54
呃。实话实说。。。除了用过spy++ ,然后一个process monitor 还有内存检测的几个工具其他都没用过了。。。不过我进程监控那个我自己做了一个基于wince500的。。瀑布汗,,所以都没有用了。。。再加上我们老板竟然把USB部分都改了。。。我连链接CETK的路都被他断掉了。。。额。。除了在模拟器上跑下SPy...其他就没用了。。
这个问题我也想问。借googleman的宝地一问了。mark
详细的测试流程。工具大家都应该还是熟悉,主要是个流程。
点赞  2009-5-6 16:56
顶顶。哈哈。难道没有人会。

paul chao牛人估计会吧。
点赞  2009-5-6 16:56
我第一次听说那些东东,除了CETK基本上都用过
点赞  2009-5-6 17:08
引用: 引用 5 楼 hudaweikevin 的回复:
我第一次听说那些东东,除了CETK基本上都用过


你的意思是?
点赞  2009-5-6 17:09
CETK怎么用,借用一下地方,学习一下
点赞  2009-5-6 17:23
今天用了下BusHound监视USB设备的传输数据,想着WinCE下如果也有这样简单实用的工具就好了。哪个牛人写个出来啊!!
点赞  2009-5-6 17:42
1. For ILTiming.exe,OSBench.exe, please Enable profiling(IMGPROFILER=1) and implement high-performance counter.
2. For CETK, LZ can run it standalone or use KITL/ActiveSync/Ethernet connection to connect to Workspace.

Paul, Chao @ Techware
点赞  2009-5-6 17:55
为提高实时性能,设计和优化 Microsoft Windows CE .NET
[/url]
[url=http://blog.eeworld.net/gooogleman/archive/2009/04/24/4106365.aspx]

[url=http://blog.eeworld.net/gooogleman/archive/2009/04/24/4106408.aspx][/url]

兄弟,这不就是你写的嘛。
why?
点赞  2009-5-6 18:52
我第一次听说那些东东,除了CETK基本上都0没有用过
点赞  2009-5-6 19:19
提示: 作者被禁止或删除 内容自动屏蔽
点赞  2009-5-6 19:28
我也转一个,你看看 ...
  1. Using ILTIMING is very easy if your BSP is derived from one of the reference
  2. platforms. I have tested other MIPS platforms built with Platform Builder
  3. 5.0 using this tool.

  4. I'm referring to PB 5.0 files here, other versions are similar.

  5. 1/ You need to add small bit of code to the ISR. See:
  6. PLATFORM\COMMON\SRC\MIPS\NEC\VRC5477\INTR\intr.c
  7. for example.

  8. 2/ you need to support IOCTL_HAL_ILTIMING. See:
  9. PLATFORM\SG2_VR5500\SRC\INC\ioctl_tab.h
  10. for example

  11. 3/ You need to support the high resolution timers;
  12. pQueryPerformanceFrequency and pQueryPerformanceCounter need to be
  13. initialized in the OAL

  14. 4/ You may need to add -DOAL_TIMING to CDEFINES in your platform build.

  15. 5/ ILTiming.exe should be automatically built for any template more complex
  16. than 'tiny kernel'


  17. To answer your question on how to translate build of iltiming.lib into
  18. iltiming.exe, study teh following two files very carefully.

  19. The file: PUBLIC\COMMON\OAK\MISC\makefile.def (the file usually included in
  20. every other 'makefile') sets up all of the macros like _COMMONPUBROOT
  21. depending on the value of 'RELEASETYPE', and also describes compile and link
  22. rules.

  23. The file: PUBLIC\COMMON\CESYSGEN\makefile describes the specific rules for
  24. making iltiming.exe.

  25. These are complex files, and you want to be very careful not to accidently
  26. change them.

  27. But again, you shuld not ned to change anything to build iltiming and
  28. osbench bits.
点赞  2009-5-6 19:38
The file: PUBLIC\COMMON\OAK\MISC\makefile.def (the file usually included in every other 'makefile') sets up all of the macros like _COMMONPUBROOT depending on the value of 'RELEASETYPE', and also describes compile and link rules.

The file: PUBLIC\COMMON\CESYSGEN\makefile describes the specific rules for making iltiming.exe.

These are complex files, and you want to be very careful not to accidently change them. But again, you shuld not ned to change anything to build iltiming and osbench bits.

这几句话有点意思。
点赞  2009-5-6 20:34
其实我觉得我们应该这样问。如何去做一个完整系统的测试。用CETK说实在话。同步上了有SDK就能用了。但是具体测试流程和测试指标有没有一个确切的规定这个是个问题。
点赞  2009-5-6 20:36
学习学习
点赞  2009-5-6 20:38
都没用过,还没到那阶段
点赞  2009-5-6 22:54
OSBench.exe和ILTiming.exe
真不简单,昨晚看了蛮久也没有搞定。
点赞  2009-5-7 08:34
在C:\WINCE500\PUBLIC\COMMON\OAK\UTILS\ILTIMING\iltiming.c(880):里面有下面的代码
    // Tell the OAL to stop logging ISR times.
    //
    ITM.wMsg = ILTIMING_MSG_DISABLE;
    KernelIoControl(IOCTL_HAL_ILTIMING, &ITM, sizeof(ITM), NULL, 0, &dwRead);
   
    //
    // Disable interrupt, print output and close file (if any).
     //
    InterruptDisable(SYSINTR_TIMING);

但是在我的2440 BSP里面根本没有IOCTL_HAL_ILTIMING以及SYSINTR_TIMING

看来还是蛮多东西要改动的。
点赞  2009-5-7 09:21
123下一页
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复