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
  • So what should i conclude from this discussion Simulater timer OK or NOT

    YES - If you use the correct information in the uVision environment

    BUT - There may be a bug in the simulator, so you might not want to rely on it. There again, there may be a bug in the compiler or (even) the CPU!

    HOWEVER - I do and it hasn't bitten me yet!

Reply
  • So what should i conclude from this discussion Simulater timer OK or NOT

    YES - If you use the correct information in the uVision environment

    BUT - There may be a bug in the simulator, so you might not want to rely on it. There again, there may be a bug in the compiler or (even) the CPU!

    HOWEVER - I do and it hasn't bitten me yet!

Children