p_time for interrupt handlers?
Posted: Tue Aug 06, 2013 10:55 pm
Other than cmd_threads, what kind of CPU usage statistics do we have?
I am especially interested in the amount of time I spend within all the interrupt handlers since that's where most of my logic is. I guess the times within interrupt handlers would be too short to be measured in systicks, even if systicks would tick during the handlers. Is there anything like RDTSC register in our processors (mine is stm32)?
PS: now I am looking at what I have written and maybe I should move some of my logic out of interrupt callbacks into general threads with the callbacks only putting events into queues, but that would be a totally different story.
I am especially interested in the amount of time I spend within all the interrupt handlers since that's where most of my logic is. I guess the times within interrupt handlers would be too short to be measured in systicks, even if systicks would tick during the handlers. Is there anything like RDTSC register in our processors (mine is stm32)?
PS: now I am looking at what I have written and maybe I should move some of my logic out of interrupt callbacks into general threads with the callbacks only putting events into queues, but that would be a totally different story.