webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webrtc::AvgCounter Class Reference

#include <stats_counter.h>

Inheritance diagram for webrtc::AvgCounter:
webrtc::StatsCounter webrtc::StatsCounter

Public Member Functions

 AvgCounter (Clock *clock, StatsCounterObserver *observer, bool include_empty_intervals)
 
 ~AvgCounter () override
 
void Add (int sample)
 
 AvgCounter (Clock *clock, StatsCounterObserver *observer, bool include_empty_intervals)
 
 ~AvgCounter () override
 
void Add (int sample)
 
- Public Member Functions inherited from webrtc::StatsCounter
virtual ~StatsCounter ()
 
AggregatedStats GetStats ()
 
AggregatedStats ProcessAndGetStats ()
 
void ProcessAndPause ()
 
void ProcessAndPauseForDuration (int64_t min_pause_time_ms)
 
void ProcessAndStopPause ()
 
bool HasSample () const
 
virtual ~StatsCounter ()
 
AggregatedStats GetStats ()
 
AggregatedStats ProcessAndGetStats ()
 
void ProcessAndPause ()
 
void ProcessAndPauseForDuration (int64_t min_pause_time_ms)
 
void ProcessAndStopPause ()
 
bool HasSample () const
 

Additional Inherited Members

- Protected Member Functions inherited from webrtc::StatsCounter
 StatsCounter (Clock *clock, int64_t process_intervals_ms, bool include_empty_intervals, StatsCounterObserver *observer)
 
void Add (int sample)
 
void Set (int64_t sample, uint32_t stream_id)
 
void SetLast (int64_t sample, uint32_t stream_id)
 
 StatsCounter (Clock *clock, int64_t process_intervals_ms, bool include_empty_intervals, StatsCounterObserver *observer)
 
void Add (int sample)
 
void Set (int64_t sample, uint32_t stream_id)
 
void SetLast (int64_t sample, uint32_t stream_id)
 
- Protected Attributes inherited from webrtc::StatsCounter
const bool include_empty_intervals_
 
const int64_t process_intervals_ms_
 
const std::unique_ptr< AggregatedCounteraggregated_counter_
 
const std::unique_ptr< Samplessamples_
 

Constructor & Destructor Documentation

◆ AvgCounter() [1/2]

webrtc::AvgCounter::AvgCounter ( Clock clock,
StatsCounterObserver observer,
bool  include_empty_intervals 
)

◆ ~AvgCounter() [1/2]

webrtc::AvgCounter::~AvgCounter ( )
inlineoverride

◆ AvgCounter() [2/2]

webrtc::AvgCounter::AvgCounter ( Clock clock,
StatsCounterObserver observer,
bool  include_empty_intervals 
)

◆ ~AvgCounter() [2/2]

webrtc::AvgCounter::~AvgCounter ( )
inlineoverride

Member Function Documentation

◆ Add() [1/2]

void webrtc::AvgCounter::Add ( int  sample)

◆ Add() [2/2]

void webrtc::AvgCounter::Add ( int  sample)

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