Forum Discussion
Altera_Forum
Honored Contributor
12 years agoUsing timestamp in an interrupt
Hi, i wanted to use the timestamp driver to get an approximation of the time spend in an ISR. Has anyone tried/achieved this? Should it be possible? I have tried it, but even if i do sequential...
Altera_Forum
Honored Contributor
12 years agoProblem seems to be solved. The code wasn't properly protecting m_timestamps from race conditions when I was reading them out. Now i am doing this, the counts value seems a lot more reasonable. Thanks Altera for your help.
Mel