Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: About csrss.exe and testers wanted

Author: Russell Reagan

Date: 00:44:13 11/30/04

Go up one level in this thread


On November 30, 2004 at 02:22:49, Daniel Shawul wrote:

>   So it doesn't matter how much cpu it uses?
>Because it sometimes uses upto 20% cpu. I am not creating and destryoing lots of
>search threads, 400 splits in a 10 second search maximum.

My guess is that your code is making system calls to do synchronization (maybe
EnterCriticalSection, OpenMutex, and so on) instead of using a spin lock.
However, guessing is a sure fire way to waste a lot of time.

Profile your code. It will tell you exactly where your program is spending its
time and which system calls (if any) are being called. Then you will know, and
we won't have to guess :)



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.