Strange optimization results
kevin diggs
diggskevin38@gmail.com
Mon Apr 11 17:46:00 GMT 2011
2011/4/11 Дмитрий Оксенчук <oksenchuk89@gmail.com>:
>
> Yes, I run tests 3 times and this is average results. I used time
> utility. Time for create and run this program without loop is 0.002s,
> so this time is not significant. System busy was little and the same
> in all tests.
>
Wouldn't it be better to use something like getrusage()? Like in the
attached bit of silliness?
kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fp.c
Type: text/x-csrc
Size: 2929 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20110411/286cf586/attachment-0001.bin>
More information about the Gcc-help
mailing list