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
  • When I say I use the simulator I am, of course, referring to the simulation I do 'in my head'!

    Just like my 'in my head' compilation - I carry out there, but always check the result with the Keil tools to make sure there is something they have done for me to complain about.

    As you might be aware, compiling in the head is not too bad. It does get a bit trickier when it comes to linking and creating a hex file :(

    Using the IDE is obviously for amateurs and is full of male cow manure!

Reply
  • When I say I use the simulator I am, of course, referring to the simulation I do 'in my head'!

    Just like my 'in my head' compilation - I carry out there, but always check the result with the Keil tools to make sure there is something they have done for me to complain about.

    As you might be aware, compiling in the head is not too bad. It does get a bit trickier when it comes to linking and creating a hex file :(

    Using the IDE is obviously for amateurs and is full of male cow manure!

Children
  • I guess his highness can also compile with different optimization settings, unroll loops, do register optimization etc. ? FYI, it is much faster, safer and easier to learn how to write good code for your platform rather than to do what you presumably do.

    Using the IDE is obviously for amateurs and is full of male cow manure!

    please refer to the subject of this post.

  • FYI, it is much faster, safer and easier to learn how to write good code for your platform rather than to do what you presumably do.

    Because I do it my way, I have enough time available to do my programming tasks, run my department, save my company a fortune AND still have sufficient time to post messages on forums purporting to be an expert on all things '51 related with a light sprinkling of pomposity, superiority and (some might say) authority.

    Roger Mallund.