OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:RateTracker
(Results
1 - 3
of
3
) sorted by null
/external/webrtc/webrtc/base/
ratetracker.cc
11
#include "webrtc/base/
ratetracker
.h"
22
RateTracker
::
RateTracker
(uint32_t bucket_milliseconds, size_t bucket_count)
32
RateTracker
::~
RateTracker
() {
36
double
RateTracker
::ComputeRateForInterval(
91
double
RateTracker
::ComputeTotalRate() const {
104
size_t
RateTracker
::TotalSampleCount() const {
108
void
RateTracker
::AddSamples(size_t sample_count) {
129
uint32_t
RateTracker
::Time() const
[
all
...]
ratetracker.h
22
class
RateTracker
{
24
RateTracker
(uint32_t bucket_milliseconds, size_t bucket_count);
25
virtual ~
RateTracker
();
/external/jetty/src/java/org/eclipse/jetty/servlets/
DoSFilter.java
180
private final ConcurrentHashMap<String,
RateTracker
> _rateTrackers = new ConcurrentHashMap<String,
RateTracker
>();
330
RateTracker
tracker = (
RateTracker
)request.getAttribute(__TRACKER);
526
protected int getPriority(HttpServletRequest request,
RateTracker
tracker)
559
public
RateTracker
getRateTracker(ServletRequest request)
583
RateTracker
tracker = _rateTrackers.get(loadId);
589
: new
RateTracker
(loadId, type, _maxRequestsPerSec);
590
RateTracker
existing = _rateTrackers.putIfAbsent(loadId, tracker);
[
all
...]
Completed in 1093 milliseconds