此帖出自嵌入式系统论坛
最新回复
应该是你的系统没有实现OEM层的OEMQueryPerformanceCounter以及OEMQueryPerformanceFrequency 函数. 而你所使用的函数正是通过以上两个函数的调用来实现的,所以在你调用以后就会返回false..
添加 QueryPerformanceFrequency, QueryPerformanceCounter支持的请参照如下步骤:
1. Provide your own implementations of the OEMQueryPerformanceCounter and OEMQueryPerformanceFrequency functions.
2. Add code to OEMInit to set the variables pQueryPerformanceCounter and pQueryPerformanceFrequency to point to your implementations of the OEMQueryPerformanceCounter and OEMQueryPerformanceFrequency functions.
更详细的说明请参考msdn.
详情
回复
发表于 2009-12-22 14:10
| ||
|
||
此帖出自嵌入式系统论坛
| ||
|
||
EEWorld Datasheet 技术支持