.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.metrics.models.VoidHistogram Class Reference
+ Inheritance diagram for searx.metrics.models.VoidHistogram:
+ Collaboration diagram for searx.metrics.models.VoidHistogram:

Public Member Functions

 observe (self, value)
 
- Public Member Functions inherited from searx.metrics.models.Histogram
 __init__ (self, width=10, size=200)
 
 quartiles (self)
 
 count (self)
 
 sum (self)
 
 average (self)
 
 quartile_percentage (self)
 
 quartile_percentage_map (self)
 
 percentage (self, percentage)
 
 __repr__ (self)
 

Additional Inherited Members

- Public Attributes inherited from searx.metrics.models.Histogram
int _lock = 1
 
 average
 
- Protected Attributes inherited from searx.metrics.models.Histogram
 _lock = threading.Lock()
 
 _width = width
 
 _size = size
 
list _quartiles = [0] * size
 
int _count = 0
 
int _sum = 0
 
- Static Protected Attributes inherited from searx.metrics.models.Histogram
str _slots__ = '_lock', '_size', '_sum', '_quartiles', '_count', '_width'
 

Detailed Description

Definition at line 159 of file models.py.

Member Function Documentation

◆ observe()

searx.metrics.models.VoidHistogram.observe ( self,
value )

Reimplemented from searx.metrics.models.Histogram.

Definition at line 160 of file models.py.

160 def observe(self, value):
161 pass
162
163

The documentation for this class was generated from the following file: