SC_GetTickCount()没有编译 [英] SC_GetTickCount() is not compiling

查看:62
本文介绍了SC_GetTickCount()没有编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WinCE6.0使用OMAP35x。我想知道bootlevel中某些操作所花费的时间。

I am working with OMAP35x using WinCE6.0. I want to know the time taken by certain operations in bootlevel.

为此,我使用SC_GetTickCount()函数,这不是在OEMPlatformInit()中编译的。 (PLATFORM\OMAP35xx\SRC\boot\eboot\main.c)。

To do this, I am using SC_GetTickCount() function, this is not getting compiled in OEMPlatformInit()  (PLATFORM\OMAP35xx\SRC\boot\eboot\main.c).

我不能在bootlevel中使用此功能吗?如果是这样,请建议我符合我要求的功能或程序。

Can't I use this function in bootlevel? If so, please suggest me a function or procedure which meets my requirement.

谢谢,

Lakshmi。

推荐答案

嗨Lakshmi,

Hi Lakshmi,

此函数获取系统的滴答计数,您在引导加载程序中 系统在此状态下,tick不会被初始化。我建议你使用你的硬件计数器并实现一个类似的功能,你可以在引导加载程序的
内使用。

this functions gets the tick count of the system, You are in the boot loader and the system tick is not initalised at this state. I would recommend to use a counter of your hardware and implement a similar function that you can use within the boot loader.

编译时会出现什么错误?

What error do you get when compiling?

问候,

Mike 

Mike 


这篇关于SC_GetTickCount()没有编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆