How can I get the current RTX ticks?

I could not find an API for RTX to get the current ticks. I need to know that information in order to measure the performance.

More questions in this forum