[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] What does Analyse Evaluation Speed Do?
From: |
Holger |
Subject: |
Re: [Bug-gnubg] What does Analyse Evaluation Speed Do? |
Date: |
Tue, 21 Jan 2003 17:40:07 +0100 |
On Mon, 20 Jan 2003 21:15:50 -0500, Gary Wong <address@hidden> wrote:
>On Mon, Jan 20, 2003 at 05:19:00PM +0100, Nardy Pillards wrote:
>> set priority highest
>> 5000
>>
>> set priority timecritical
>> 6100
>
>Oops, that's a bit annoying. The code was supposed to measure elapsed
>CPU time, not real time, so that the result would not be influenced by
>CPU load, process priority, etc. From clock(3):
[snip]
>Apparently the C library under MS Windows is measuring something
>slightly different (real time, presumably). Under GNU/Linux, the
>result seems to be unaffected by external processes. For instance, on
[snip]
When I tried it at home a few days ago I didn't get very consistent
results. With gcc 3.2 -O3 -march=pentium-mmx -mcpu=pentium-mmx -mmmx I
got values of about 700, when I reran it, almost 2000 (cache?) and
another time 1300, but steadily decreasing, for my P1-MMX 233.
I haven't tried yet to play with the priority, though.
Regards,
Holger