-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A new register type called RC64 is introduced, which allows access to two consecutive 32-bit registers in the case of 64-bit byte and octet statistics registers. At the same time, the accumulator for both types of RC registers is promoted from a Lua number to a uint64_t cdata object. In addition to allow maintaining high-capacity counters based on 32-bit registers (e.g. packet counters), this also avoids conversions from integers to doubles.
- Loading branch information
1 parent
9f7444c
commit c52ad03
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters