Use higher increment for transform rounds in benchmark.

Thanks to Sami Farin for providing a patch.

Closes #305.
This commit is contained in:
Florian Geyer 2015-07-12 21:48:55 +02:00
parent f4361dd4d5
commit f22069bb11

View File

@ -186,10 +186,10 @@ void TransformKeyBenchmarkThread::run()
t.start();
do {
if (!cipher.processInPlace(key, 100)) {
if (!cipher.processInPlace(key, 10000)) {
m_rounds = -1;
return;
}
m_rounds += 100;
m_rounds += 10000;
} while (t.elapsed() < m_msec);
}