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.

Linux/AM3352: Want to use hardware timer to measure time delay in interrupt sub-routine.

Part Number: AM3352

Tool/software: Linux

Hi

We are using AM3352 processor based custom target board . Linux kernel version is 4.9.28.

I want to measure the longest time taken by  any driver spent in an interrupt sub-routine  in generic irq layer in Linux kernel.

can you please suggest which hardware timer to use for this purpose. I primarily want to ioremap the timer counter register and capture the tick counts at the start and end of ISR.

Thanks

Ravinder