How to use nuttx's gethrtime() function in px4 threads

Can I use nuttx’s gethrtime() function in a px4 thread? Is there any way to use it?

What are you trying to do?

I assume this is an XY problem.

reverting ro a newer post

@sibujacob: your question has nothing to do with this thread, right? Just create a separate thread please.

1 Like