Added an intruction in bench.cpp to run benchmarks for more repetitions.

This commit is contained in:
Wei Dai 2021-02-12 14:01:19 -08:00
Родитель 1171815564
Коммит bd0685b8a0
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -14,6 +14,8 @@ namespace sealbench
{
/**
Wraps benchmark::RegisterBenchmark to use microsecond and accepts std::string name.
Each benchmark runs for 10 rather than a dynamically chosen amount of iterations.
If more runs are needed for more accurate measurements, either remove line 26, or run benchmarks in repetition.
*/
#define SEAL_BENCHMARK_REGISTER(category, n, log_q, name, func, ...) \
RegisterBenchmark( \