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

#include <stats_counter.h>

Inheritance diagram for webrtc::RateAccCounter:
webrtc::StatsCounter webrtc::StatsCounter

Public Member Functions

 RateAccCounter (Clock *clock, StatsCounterObserver *observer, bool include_empty_intervals)
 
 ~RateAccCounter () override
 
void Set (int64_t sample, uint32_t stream_id)
 
void SetLast (int64_t sample, uint32_t stream_id)
 
 RateAccCounter (Clock *clock, StatsCounterObserver *observer, bool include_empty_intervals)
 
 ~RateAccCounter () override
 
void Set (int64_t sample, uint32_t stream_id)
 
void SetLast (int64_t sample, uint32_t stream_id)
 
- 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

◆ RateAccCounter() [1/2]

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

◆ ~RateAccCounter() [1/2]

webrtc::RateAccCounter::~RateAccCounter ( )
inlineoverride

◆ RateAccCounter() [2/2]

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

◆ ~RateAccCounter() [2/2]

webrtc::RateAccCounter::~RateAccCounter ( )
inlineoverride

Member Function Documentation

◆ Set() [1/2]

void webrtc::RateAccCounter::Set ( int64_t  sample,
uint32_t  stream_id 
)

◆ Set() [2/2]

void webrtc::RateAccCounter::Set ( int64_t  sample,
uint32_t  stream_id 
)

◆ SetLast() [1/2]

void webrtc::RateAccCounter::SetLast ( int64_t  sample,
uint32_t  stream_id 
)

◆ SetLast() [2/2]

void webrtc::RateAccCounter::SetLast ( int64_t  sample,
uint32_t  stream_id 
)

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