imx6q-SDB,how to get time about microsecond

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx6q-SDB,how to get time about microsecond

405件の閲覧回数
tab_song
Contributor II

on SDB,i find the function "do_gettimeofday" can`t get exact time about microsecond ,

i wanna get exact time in driver ,what can i do?

if you wanna say timer or hrtimer,i had try ,use it to get time isn`t good idea,frequent use hrtimer in microsecond could lead system crash.

0 件の賞賛
1 返信

327件の閲覧回数
Carlos_Musich
NXP Employee
NXP Employee

Hi tab song,

ENET module in IMX6Q supports IEEE 1588 Precision Time Protocol (PTP). You can take a look in chapter 23 of Reference Manual. i.MX6Q Reference Manual


Regards,
Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------