Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Weird compiler problem

Author: David Rasmussen

Date: 05:08:37 10/30/00

Go up one level in this thread


I made a profile on the program on the AMD/win98 machine. It shows that 60% of
the time is used by search()! Usually when I make the exact same profile, with
the exact same compiler, I get that FirstBit and Evaluate takes up the majority
of the time. So something was weird in my search() function.
After a little examination I found that it was my call to clock() in search that
wasted all that time. When I started doing time control code, I found that there
were no penalty (even on win98) in calling clock() at every node, instead of
calling it once a second or so. Now it looks the other way around. Why?

Is clock() implemented differently in win98, or in win98 win running on AMD ??

Very weird.



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.