aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-21 18:39:14 +0000
committerlloyd <[email protected]>2008-11-21 18:39:14 +0000
commit7d37817a7ee9a697a1f748231f23ef185c8b1d75 (patch)
tree4787e10022c12f1f440d192210ac1784b32a83b7 /src
parent40c642fc6bc7b3feab657000d2df05db96480d13 (diff)
Mention ANSI clock seems pretty bogus for benchmarking
Diffstat (limited to 'src')
-rw-r--r--src/benchmark/benchmark.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/benchmark/benchmark.h b/src/benchmark/benchmark.h
index 658e6be7f..f74913c19 100644
--- a/src/benchmark/benchmark.h
+++ b/src/benchmark/benchmark.h
@@ -30,6 +30,9 @@ namespace Botan {
#elif defined(BOTAN_HAS_TIMER_UNIX)
typedef Unix_Timer Default_Benchmark_Timer;
#else
+ /* I have not had good success using clock(), the results seem
+ * pretty bogus, but as a last resort it works.
+ */
typedef ANSI_Clock_Timer Default_Benchmark_Timer;
#endif