www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/20/13:06:05

Date: Sun, 20 Dec 1998 13:02:25 -0500 (EST)
From: Agent Drek <drek AT monsterbymistake DOT com>
Sender: drek AT bunny
To: djgpp AT delorie DOT com
Subject: Re: cpu eater
In-Reply-To: <Pine.SUN.3.91.981220190548.102A-100000@is>
Message-ID: <Pine.SGI.3.96.981220125439.21998B-100000@bunny>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Sun, 20 Dec 1998, Eli Zaretskii wrote:

|Is it possible you are using some version of `sleep' other than the one 
|from the library?

nope.

(1) some other process is eating the CPU
|cycles on your system;

no, there are not. I always have to make sure what exactly my
systems are doing. (which is IMHO very hard to do on NT with
the toolset Microsoft ships)

(2) there's something in how your system is set
|up that is different from the one I tested that on.  In any case, this is
|not the problem with the program, but with your system, or so it seems. 

this is possible. but...what could be setup different that would effect
reported CPU usage in that way? Everything else runs correctly.
alas, all of my experience is unix and i've never run
into this problem before so I will continue trying.

|> are there options I could pass to gcc?
|
|GCC options cannot usually affect CPU usage by a program.  For the 
|record: I compiled with "gcc -Wall -g -O" (the last one is the capital 
|letter O, not a zero).
|

just making sure.

|> (maybe it's because some debugging stuff is going on?)
|
|What debugging stuff?

dunno. (not using RHIDE...just VIM)

|
|> I am just confused because the same code works great on my SGI.
|
|It also works great on my NT and on Windows 9X as well.
|

I will try a different NT box.

thanks again.

	=derek

Monster By Mistake Inc >
mailto:drek AT monsterbymistake DOT com
(416)591-0750 x228

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019