Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Time functions:

Author: GBes

Date: 04:50:47 09/24/99

Go up one level in this thread


you can use clock( ) for this.

clock_t start,finish;

start = clock();
// ...
finish = clock();
double difference = (double)(finish-start)/CLOCKS_PER_SECOND;



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.