monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision faba95f94a927521232b2e9510f7787f7ef0a0


From: monotone
Subject: [Monotone-commits-diffs] Revision faba95f94a927521232b2e9510f7787f7ef0a0d5
Date: Wed, 23 Dec 2009 01:50:20 +0100

-----------------------------------------------------------------
Revision: faba95f94a927521232b2e9510f7787f7ef0a0d5
Ancestor: f9feab999fc5100d1093e6b4bdd50677347f4638
Author: address@hidden
Date: 12/23/09 01:46:24
Branch: net.venge.monotone

Modified files:
        sha1.cc

ChangeLog: 

Only use Botan's benchmark calls on 1.7.23 or later; on 1.7.22, instead
use the old benchmark code that is used for older 1.7 and also 1.6. This
avoids certain compat problems with later releases; the Timer class is
actually pure virtual in versions after 1.7.22 (just got lucky because
on Unix and Windows it wasn't used), and the Win32_Timer class should
really not be used for benchmarking because it uses QueryPerformanceCounter,
which returns a time value with a more or less random resolution (maybe
the CPU clock speed, maybe the PIT counter resolution, maybe something
else entirely).

Also add checks to deal with versions >=1.9.4, where the timer argument
is removed.

Attachment: txtbiXZqP3Zq5.txt
Description: Diff [f9feab999fc5100d1093e6b4bdd50677347f4638] -> [faba95f94a927521232b2e9510f7787f7ef0a0d5]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]