Kea  1.9.9-git
parameters.h
Go to the documentation of this file.
1 // Copyright (C) 2018-2019,2021 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
7 #ifndef BENCHMARKS_PARAMETERS_H
8 #define BENCHMARKS_PARAMETERS_H
9 
10 #include <benchmark/benchmark.h>
11 
12 namespace isc {
13 namespace dhcp {
14 namespace bench {
15 
21 
23 
25 constexpr size_t MIN_LEASE_COUNT = 512;
27 constexpr size_t MAX_LEASE_COUNT = 0xfffd;
28 
30 constexpr size_t MIN_HOST_COUNT = 512;
32 constexpr size_t MAX_HOST_COUNT = 0xfffd;
33 
35 constexpr benchmark::TimeUnit UNIT = benchmark::kMicrosecond;
36 
38 
39 } // namespace bench
40 } // namespace dhcp
41 } // namespace isc
42 
43 #endif
constexpr size_t MIN_HOST_COUNT
A minimum number of leases used in a benchmark.
Definition: parameters.h:30
constexpr benchmark::TimeUnit UNIT
A time unit used - all results to be expressed in us (microseconds)
Definition: parameters.h:35
constexpr size_t MAX_LEASE_COUNT
A maximum number of leases used in a benchmark.
Definition: parameters.h:27
Defines the logger used by the top-level component of kea-dhcp-ddns.
constexpr size_t MAX_HOST_COUNT
A maximum number of leases used in a benchmark.
Definition: parameters.h:32
constexpr size_t MIN_LEASE_COUNT
A minimum number of leases used in a benchmark.
Definition: parameters.h:25