From: "Rafael García" Newsgroups: comp.os.msdos.djgpp Subject: Re: performance Date: Sat, 30 Jan 1999 12:02:50 +0100 Organization: CTV/JET Lines: 27 Message-ID: <78uoui$ago$1@lola.ctv.es> References: <39AE1D927549D111A88F00A0C94B9C7D628ECB AT RJ01MAI01> NNTP-Posting-Host: infon459.jet.es X-Trace: lola.ctv.es 917694226 10776 195.55.157.203 (30 Jan 1999 11:03:46 GMT) X-Complaints-To: usenet AT lola DOT ctv DOT es NNTP-Posting-Date: 30 Jan 1999 11:03:46 GMT X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com josepva AT informatica DOT TELERJ DOT net DOT br escribió en mensaje <39AE1D927549D111A88F00A0C94B9C7D628ECB AT RJ01MAI01>... >I'm troubled too, but I think that the diference in access speed is that the >DJGPP have to switch to real mode to call DOS funcs and it makes your >program slower. The problem was the output to console during searching. The program shows in a 'status line' the record in proccess during the search. This was de bottleneck: under BC y use direct access to video memory and time consumed is nothing. But I don´t know how can do this with gcc, and I changed output thru cputs. But this is SLOOOOOOOW. I tried to profile using -pg parm to compiler and 'Link for profiling' from RHIDE, but program but it produces a SIGSEGV. Then I did a test without output and got it. Now I have a limitation in frecuency of msgs to user during all proccess and times are good. Except where is necessary console output. Do you know if its possible to use another system for screen write? Thank you.