This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 在 Processor SDK 9.3的基础上控制 RTC 所需的时间

Guru**** 2465270 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1474147/regarding-the-problem-that-it-takes-time-to-control-rtc-with-processor-sdk-9-3

器件型号:PROCESSOR-SDK-AM335X

工具与软件:

尊敬的 TI 专家:

我们这里收集的信息涉及在 Processor SDK 9.3中 RTC 控制花费较长时间的问题。

与旧版 SDK (例如 SDK 8.2)相比、控制 RTC 显然需要更多时间。

测量 SDK 9.3和 SDK 8.2的 RTC 控制时间的结果如下。 

SDK 9.3的改进
$ time hwclock --systohc --rtc=/dev/rtc0
real 0m 0.94s
user 0m 0.18s
sys 0m 0.31s

$ time hwclock --systohc --rtc=/dev/rtc1
real 0m 1.74s
user 0m 0.54s
sys 0m 0.74s


SDK 8.2

$ time hwclock --systohc --rtc=/dev/rtc0
real    0m 0.01s
user    0m 0.00s
sys     0m 0.01s
$ time hwclock --systohc --rtc=/dev/rtc1
real    0m 0.01s
user    0m 0.00s
sys     0m 0.01s


结果会因后台进程的运行方式而有所不同、但总体趋势是相同的。 

我还希望在 SDK 9.3中提高 RTC 控制速度。


  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我现在也正面临这个问题。

    从 RTC 获得时间很长。

    此致、
    Katsuyama