2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[#2658] document big integer statistics

This commit is contained in:
Andrei Pavel
2023-04-28 10:24:04 +03:00
parent 4a06d2baf0
commit 37da13e46f
2 changed files with 6 additions and 2 deletions

View File

@@ -6540,7 +6540,7 @@ The DHCPv6 server supports the following statistics:
| | | are certain cases where there is |
| | | no response. |
+----------------------------------------------+----------------+------------------------------------+
| subnet[id].total-nas | integer | Total number of NA addresses |
| subnet[id].total-nas | big integer | Total number of NA addresses |
| | | available for DHCPv6 management |
| | | for a given subnet; in other |
| | | words, this is the sum of all |
@@ -6587,7 +6587,7 @@ The DHCPv6 server supports the following statistics:
| | | subnet separately, and is reset |
| | | during a reconfiguration event. |
+----------------------------------------------+----------------+------------------------------------+
| subnet[id].total-pds | integer | Total number of PD prefixes |
| subnet[id].total-pds | big integer | Total number of PD prefixes |
| | | available for DHCPv6 management |
| | | for a given subnet; in other |
| | | words, this is the sum of all |

View File

@@ -26,6 +26,10 @@ There are four types of statistics:
64-bit integer (int64_t in C++), so it can hold any value between
-2^63 to 2^63-1.
- *big integer* - this type is inteded for holding large numbers. It is
implemented as a 128-bit integer (boost::multiprecision::int128_t in C++), so
it can hold any value between -2^127 to 2^127-1.
- *floating point* - this type is intended to store floating-point
precision. It is implemented as a C++ double type.