Welcome to the Linux Foundation Forum!

How to use the arm global timer

dczanella
dczanella Posts: 1

Hi

How can I use the arm global timer in my module? I'm new in kernel programming and I need to get a high resolution timer (64 bits) to make precise time measurements. I'm building the module in a SBC with armv7 architecture and it seems that arm global timer could help me in this case, but I couldn't figure out a way to use it. I didn't find headers to include to use their functions. I wrote the device tree and included this device and it seems working following the dmesg. Could someone help me? Thanks

Categories

Upcoming Training