Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-selector
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-selector
Commits
840a781b
Commit
840a781b
authored
Feb 26, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the new stats (setsz and nodesz).
parent
35ccc746
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
README.rst
README.rst
+7
-0
vmod_selector.vcc
src/vmod_selector.vcc
+7
-0
No files found.
README.rst
View file @
840a781b
...
...
@@ -859,8 +859,15 @@ The VMOD currently provides the following statistics:
* ``elements``: the number of elements in the set (added via
``.add()``)
* ``setsz``: the total size of the strings in the set -- the sum of
the lengths of all of the strings, including their terminating null
bytes
* ``nodes``: the total number of nodes in the internal data structure
* ``nodesz``: the size of a node in the internal data structure
(bytes)
* ``leaves``: the number of leaf nodes in the internal data structure.
There may be fewer leaf nodes than elements of the set, if the set
contains common prefixes.
...
...
src/vmod_selector.vcc
View file @
840a781b
...
...
@@ -759,8 +759,15 @@ The VMOD currently provides the following statistics:
* ``elements``: the number of elements in the set (added via
``.add()``)
* ``setsz``: the total size of the strings in the set -- the sum of
the lengths of all of the strings, including their terminating null
bytes
* ``nodes``: the total number of nodes in the internal data structure
* ``nodesz``: the size of a node in the internal data structure
(bytes)
* ``leaves``: the number of leaf nodes in the internal data structure.
There may be fewer leaf nodes than elements of the set, if the set
contains common prefixes.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment