Forum Discussion
Altera_Forum
Honored Contributor
9 years agoaltera cyclone V ways to measure execution time in interrupt handler?
i am developing an application on cyclone v board.As per my app is very time critical, i am having few copy operations in the interrupt handler (top half only as bottom half latency is not good for m...
Altera_Forum
Honored Contributor
9 years agogot a working solution. i used do_gettimeofday().
it filled the two time structures. and found out the seconds and microseconds between two times of before and after my copy operations.although i subtracted microseconds and seconds myself not programmatically coz of kernel floating point issues.and ktime and do_gettimeofday gives same result so cross check operation done :)