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

Runtime

How can i calculate the runtime of the program in terms of clock cycles?

without looking into the instruction set.

Regards
Siva

  • Two alternative answers, pick one:

    1) You can't. Not even with looking at the instruction set, unless it's an entirely stupid little program that doesn't depend on any external input. Mr. Turing proved that some 20 years before most of us were born.

    2) You can't, because in embedded programming,
    "the program", by definition, runs forever.