tom12sg
Member level 2

Hi,
Any idea how can I measure the time of execution for routine written in C language under Keil complier?
In the target section I can specify the clock frequency used and the specific mcu to be used.
Under debugger I can see the dis-assembled code, but it would be a waste of time and very tire to calculate line by line and also some have different execution cycle. I have try the performance analyzer but it didn't give me the exact time in term of cycle... maybe I don't understand how to use it. I think Keil should have some means to calculate isn't, please someone teach and advice me.
Thanks.
Regards,
Tom
Any idea how can I measure the time of execution for routine written in C language under Keil complier?
In the target section I can specify the clock frequency used and the specific mcu to be used.
Under debugger I can see the dis-assembled code, but it would be a waste of time and very tire to calculate line by line and also some have different execution cycle. I have try the performance analyzer but it didn't give me the exact time in term of cycle... maybe I don't understand how to use it. I think Keil should have some means to calculate isn't, please someone teach and advice me.
Thanks.
Regards,
Tom