Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Sjeng 7 out - with sources now (GPL)

Author: Daniel Clausen

Date: 10:56:47 04/17/00

Go up one level in this thread


Hi

On April 17, 2000 at 04:26:28, Gian-Carlo Pascutto wrote:

>>int	ftime(struct timeb* tp)
>>{
>>	struct timeval tmp;
>>
>>	gettimeofday(&tmp, NULL);
>>	tp->time		= tmp.tv_sec;
>>	tp->millitm	= tmp.tv_usec / 1000;
>>	tp->timezone	= 0;
>>	tp->dstflag	= 0;
>>}
>>
>
>On thanks. I'll see what I can do to fix that problem. Sjeng can work
>without an ftime function, but its accuracy will be limited to seconds
>then. (I havent tested this is a while though)

The function above shouldn't limit Sjengs accuracy.


>I'll add your function if !HAVE_FTIME but HAVE_GETTIMEOFDAY, which
>should do the trick, and check whether everything works without ftime
>too.
>
>Thanks for the report!
>
>Oh BTW, I suppose you use(d) configure/autoconf to compile ?

Yes.

Kind regards,
 -sargon



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.