small note in make recipe for executing benchmarks

Signed-off-by: Anjan Roy <hello@itzmeanjan.in>
This commit is contained in:
Anjan Roy
2023-03-01 15:59:49 +04:00
parent 7616dd359e
commit c346f00dcd

View File

@@ -32,5 +32,7 @@ bench/a.out: bench/main.cpp include/*.hpp sha3/include/*.hpp include/bench/*.hpp
$(CXX) $(CXXFLAGS) $(OPTFLAGS) $(IFLAGS) $(DEP_IFLAGS) $< -lbenchmark -o $@
benchmark: bench/a.out
# no repeatation, showing mean time taken
./$< --benchmark_time_unit=us
# N(>0) repeatations, showing only aggregates
./$< --benchmark_time_unit=us --benchmark_repetitions=8 --benchmark_display_aggregates_only=true