Do we have support for a high resolution timer in the device? If so where i can get its documentation from. I want to do performance analysis on the code.
regards,
dinesh
Do we have support for a high resolution timer in the device? If so where i can get its documentation from. I want to do performance analysis on the code.
regards,
dinesh
Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.
Hi Dinesh,
We support high resolution timer via Advanced Timer Service (ATS). Application is able to set high-resolution timers. Currently the hardware timer that supports ATS runs at 32000Hz.
Please refer qapi_timer.h.
Thanks
BR,
Jayden
Hello,
As suggested i tried the advanced timer services. I think that the timer is not starting.For different operations the time as measured by qRT changes but the Time difference as shown by the QAPI Timer APIs does not change. I am expected the timer to start when qapi_Timer_Set API is called.
Below is the sequence i am using in my code.
A. Call qapi_Timer_Def()