Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: bench.c minor fix (was Crafty 19.14 binaries for OS X)

Author: Frank E. Oldham

Date: 15:07:46 07/01/04

Go up one level in this thread


On July 01, 2004 at 04:55:50, Joshua Shriver wrote:

>I have put up crafty 19.14 binaries for single and dual CPU's on my chess page.
>
>http://www.csee.wvu.edu/~jshriver/chess/
>
>If anyone wants them check it out, feel free to grab them. I included a stat.txt
>file I made with benchmarks for both binarys on my system.
>
>Sincerely,
>Joshua Shriver

Hi,
to get an nps printed out from crafty,
in bench.c (near the bottom) change
  Print(4095,"Raw nodes per second: %d\n", nodes / (total_time_used / 100));
to
  Print(4095, "Raw nodes per second: %d\n", (int)((float)nodes /
(total_time_used / 100)));

Frank



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.