What is GPIO interrupt latency in C++ app and how to minimize

Dear Friends,

I have tried to use GPIO interrupt to minimize delay in GPIO change detection but it seems higher interrupt latency.
I have following query:
(1) Is there any data about minimum GPIO interrupt latency in Jetson Nano with C++app?
(2) What’s best way to minimize GPIO interrupt latency in C++?

Thanks for reply well in advance


Sanjay Patel

hello it179,

it’s low-level API to detect interrupt, so, it’ll depends-on your code implementation.
you could increase CPU clock frequency to have better performance,
or, you should configure higher process priority with the nice commands,