MSDN中有几句话看的不是很明白,大家帮忙解释下
今天在看MSDN中,发现了一段话,不知道该如何去理解,有明白的能说一下吗?
In Windows Embedded CE 6.0, it is no longer necessary to build a profiling OAL over a non-profiling OAL. If your OAL supports profiling, you should always include it in the final or shipping image. Profiling is a very useful tool for debugging devices in the field.
NOTE:
Do not add the profiler to shipping devices. The goal is to avoid performance and memory loss due to the profiler.
To switch between a non-profiling run-time image and profiling run-time image, simply set IMGPROFILER=1 and remake the image. KernProf.dll will detect OAL profiling support and use it if it is available.
This means that the build target KernKitlProf.exe has no equivalent in Windows Embedded CE 6.0. OEMs only need to build Oal.exe, or OalKitl.exe if KITL is statically-linked. If your OAL supports profiling, you can simply initialize the following function pointers in OEMInit:
g_pOemGlob->pfnProfileTimerEnable = OEMProfileTimerEnable;
g_pOemGlob->pfnProfileTimerDisable = OEMProfileTimerDisable;
这里我有如下疑问:
1.profiling OAL 是什么?在那个目录下?
2.shipping image应该怎么解释?
在选项配置里的解释是:
Enable Profiling
在image增加profiler功能, 性能测试功能. 选择此项可以打开Windows CE Kernel Profile服务,这样就可以对内核的运行性能指标进行剖分,以便对系统进行优化。
3.按照上述说法,内核运行性能有哪些?如何剖分?如何优化?