Thanks again for all the comments,
it seem to be fixed with a combination of the 'frames per second' and a
'idleHandlerPeriod' command.
Instead of 100% CPU-usage i've now a CPU-usage of 20% !! so now i must only
figure out wich the best balance is between the three programs. (i hope :) )
Milo Mineur
> From: Florian Bogeschdorfer <[EMAIL PROTECTED]>
> Organization: me media
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 23 Oct 2001 17:37:48 +0200
> To: [EMAIL PROTECTED]
> Subject: Re: <lingo-l> processorspeed/multitasking/multiuser
>
> Nevertheless, the CPU usage and memory usage of Director projectors on
> Windows is always horrifying. Even when playing with the
> idlehandlerperiod and cpuhogticks and even with a very small stage and
> no action at all, I did not get cpu-usage below 60%.
>
> regards, Florian
>
> Sam Bennett wrote:
>>
>> -----Original Message-----
>> From: Chad Mefferd (Morris Publishing) <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> Date: Tuesday, October 23, 2001 10:30 AM
>> Subject: Re: <lingo-l> processorspeed/multitasking/multiuser
>>
>>> As far as the CPU-usage goes on the PC I was also alarmed to learn this.
>> Our
>>> PC programmers didn't seem too alarmed though. They thought it was curious,
>>> but felt that the Projector relinquished CPU usage well enough for other
>>> background programs and events to take place. I cannot offer any expertise
>>> here only the reactions of our staff.
>>
>> Hey Chad Mefford and Others-
>>
>> Had a problem with a little program that was designed to run minimized
>> most of the time- it was taking all of the CPU cycles it could get- using
>> 100% resources. Checked out "idleHandlerPeriod" and set it lower than it's
>> default. (It's default is to receive idle messages as often as possible,
>> which obviously was eating processor) Play with that and see if you can get
>> less than 100% usage. Of course, this depends on what you're doing. Our
>> little program just sat there most of the time. We did some tests for
>> performance vs. CPU usage and found a happy medium. Also, we weren't
>> concerned with idleLoadTag or any of that stuff- not sure how setting this
>> would affect those processes.
>>
>> example:
>>
>> on startMovie
>> --once per second (60 ticks)
>> the idleHandlerPeriod = 60
>> end startMovie
>>
>> on idle
>> nothing
>> end idle
>>
>> --samn--
>> boom-sha-lacka-lacka-boom
>> ('scuse me miramar, but i wish
>> you were someone else)
>>
>> [To remove yourself from this list, or to change to digest mode, go to
>> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
>> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
>> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]