24 Sep
2009
24 Sep
'09
7:47 a.m.
Roman Perepelitsa wrote:
You didn't specify which operating system you are using, but I if it's not a real time OS, there is no guarantee that the same code will take the same time to execute on each run. For small programs (in terms of run time) the difference can be huge (easily an order of magnitude).
+ the fact that if no side effect occurs in the code, the compiler may decide to not include the code in the xecutable at all.