From: kallekula60 AT hotmail DOT com (Daniel Friberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: Cpu speed detection using DJGPP? Date: 26 Jul 2001 05:09:54 -0700 Organization: http://groups.google.com/ Lines: 13 Message-ID: <458df9bf.0107260409.6cd26945@posting.google.com> References: <5BF60CD649EDD411A04600B0D049F53AFFA93B AT hydmail02 DOT hyd DOT wilco-int DOT com> NNTP-Posting-Host: 212.181.167.164 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 996149395 12835 127.0.0.1 (26 Jul 2001 12:09:55 GMT) X-Complaints-To: groups-support AT google DOT com NNTP-Posting-Date: 26 Jul 2001 12:09:55 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Ok, but could I instead do like this? for(i=0;i<100000;i++) asm("xorl %%eax, %%eax" ::: "ax"); I guess I could put anything into the for-statement, wouldn't even a simple for(i=0;i<80;i++) printf("."); suffice? //Dan