??? 08/01/05 12:27 Read: times |
#98577 - absolutely, but what good does it do Responding to: ???'s previous message |
Well, I think that automated worst-case cycle counting is at least partially possible, especially in structured high level language (C).
absolutely, but what good does it do. You make something time critical, use the "automated worst-case cycle counting" and everything is wonderful. Then 3 weeks later a) you find a bug and upgrade the compiler b) you have a reason to change the optimizer setting and - woila, the cycle count changes. Even worse: 3 years lates somebody else - or yourself - has to make a minor change and for thet reasom need to do a) or b). Counting cycles in C is a worthless excersize Erik |
Topic | Author | Date |
Counting cycles... possible in C? | 01/01/70 00:00 | |
You need a Profiler | 01/01/70 00:00 | |
The compiler knows | 01/01/70 00:00 | |
Source code useless | 01/01/70 00:00 | |
That's why you need Assembler! | 01/01/70 00:00 | |
nohohoho | 01/01/70 00:00 | |
Speed is not everything! | 01/01/70 00:00 | |
Cycles vary? | 01/01/70 00:00 | |
I know | 01/01/70 00:00 | |
absolutely, but what good does it do | 01/01/70 00:00 | |
other way round | 01/01/70 00:00 | |
Yes, the things posted apply in this cas | 01/01/70 00:00 | |
exactly for this reason | 01/01/70 00:00 | |
how can you automate that it is small en | 01/01/70 00:00 | |
Use Microsoft Excel | 01/01/70 00:00 | |
excel and conditional branches ? | 01/01/70 00:00 | |
That's why | 01/01/70 00:00 | |
That makes absolutotally no difference,![]() | 01/01/70 00:00 |