TIP: Click on subject to list as thread! ANSI
echo: pascal_lessons
to: All
from: Chris Hoppman
date: 2003-12-11 13:21:44
subject: since ya`ll are asking.

Since ya'll are asking for someone to help.  Maybe you can help me with a 
problem I am having with a source code I am modifing.

It has timeslices built into it, but the CPU usage is still in the upper 
limits (89-98%).  I sorta remember something I have read and wantted to verify
it.  That the timeslices shouldn't be gave at anytime. Like say you do this.

For A := 0 to 100 do
    begin
     {Do some stuff here}
     TimeSlice;
    end;

It would do 100 timeslices back to back.

I have read that you should time them to be at least 55 ms apart 
( depending on the system ).  That if you do like I did above it will accually
make the application use more of the CPU. 

Maybe someone could explain to me all about Time Slices.  Or point me in the 
direction of a place I can read up on them.

Bluewolf

--- Renegade v12-08.3 Alpha
* Origin: The Titantic BBS Telnet - ttb.slyip.com (1:129/305)
SEEN-BY: 633/267 270
@PATH: 129/305 379/1 396/45 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.