On Mon, Apr 18, 2011 at 11:09 AM, fooler mail <[email protected]> wrote:
> just compile waste.c without gcc optimization (eg. gcc waste.c -o
> waste) and make sure that during the sampling of clock speed time is
> more than 1 second to get a better results...

Thanks, that made the difference :)  I was compiling the lazy way
(e.g. `make -k waste') which passed in `-O2 -pipe'.  I'm curious as to
why there's a difference though; I suppose the compiler optimized away
the empty for(), among other things...

-- 
Zak B. Elep  ||  zakame.net
1486 7957 454D E529 E4F1  F75E 5787 B1FD FA53 851D
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to