This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

timer

HI i am debuging a program written in C if i select 12MHz clock for the program There is a timer in the project window showing the time passed and the no of states(machine cycles). Can i rely on the timer for my time calculations???????

Parents
  • don't assume that the simulator knows exactly how many clock cycles every instruction take

    I don't use the ide myself but I can see that some less experienced people might think it is good. During my 30 plus years of programming I have stuck with my codewrite editor version 0.1 beta for all of my programming.

    Come to think of it, I've got so much experience I don't bother with the compiler much any more because it changes everything i write into worse, unpredictable and bad code.

    Mallund.

Reply
  • don't assume that the simulator knows exactly how many clock cycles every instruction take

    I don't use the ide myself but I can see that some less experienced people might think it is good. During my 30 plus years of programming I have stuck with my codewrite editor version 0.1 beta for all of my programming.

    Come to think of it, I've got so much experience I don't bother with the compiler much any more because it changes everything i write into worse, unpredictable and bad code.

    Mallund.

Children