Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: get_ms() bug

Author: Mathieu Pagé

Date: 06:06:13 05/14/04

Go up one level in this thread


On May 13, 2004 at 16:11:34, Jeff GAZET wrote:

>hi,
>
>All versions of my engine have got a bug since a few hours : you can't set a
>fixed depth :-(
>
>for those who are using something like this :
>
>int stop_time;
>stop_time=get_ms()+1000;
>
>this is buggy now, as get_ms()>2146589376
>and long is 2147483647

I use the asm command: rdtsc that ReaD Time Stamp Counter... in other words cpu
cycles.

it roll over every 243 years on my 2.4 Ghz cpu.

Mathieu P.



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.