Message-ID: <3C04C3EE.A97F7057@yahoo.com> From: CBFalconer Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: uclock() and struct rusage References: <3C03503F DOT E9AE61D3 AT bigfoot DOT com> <3C03C095 DOT AEBDC2EC AT yahoo DOT com> <1438-Tue27Nov2001224303+0200-eliz AT is DOT elta DOT co DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 28 Date: Wed, 28 Nov 2001 16:41:45 GMT NNTP-Posting-Host: 12.90.178.193 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc06-news.ops.worldnet.att.net 1006965705 12.90.178.193 (Wed, 28 Nov 2001 16:41:45 GMT) NNTP-Posting-Date: Wed, 28 Nov 2001 16:41:45 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > > From: CBFalconer > > > > *** Posted and mailed *** > > It would be nice if you omitted the humongous quote... > > > I expect this is not even portable under W98. I hope to try it > > later using the identical compiler, etc., but running on this '486 > > system. I expect it will crash with an 'illegal instruction' > > failing. > > What possible cause(s) do you see for the illegal instruction > failure? I left the quote to capture the source in my own sent file. I suspect that system is calling some sort of cpu cycle timer that exists only in the Pentium. Something like rdtsc?? Sandra and others used to do that. Haven't tried it. Just speculating. -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net) Available for consulting/temporary embedded and systems. (Remove "XXXX" from reply address. yahoo works unmodified) mailto:uce AT ftc DOT gov (for spambots to harvest)