LeviLamina
Loading...
Searching...
No Matches
RateStatistics.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace webrtc {
6
7class RateStatistics {
8public:
9 // RateStatistics inner types declare
10 // clang-format off
11 struct Bucket;
12 // clang-format on
13
14 // RateStatistics inner types define
15 struct Bucket {
16 public:
17 // member variables
18 // NOLINTBEGIN
22 // NOLINTEND
23
24 public:
25 // prevent constructor by default
26 Bucket& operator=(Bucket const&);
27 Bucket(Bucket const&);
28 Bucket();
29 };
30
31public:
32 // member variables
33 // NOLINTBEGIN
42 // NOLINTEND
43
44public:
45 // prevent constructor by default
46 RateStatistics& operator=(RateStatistics const&);
47 RateStatistics();
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCNAPI void EraseOld(int64 now_ms);
53
54 MCNAPI ::std::optional<int64> Rate(int64 now_ms) const;
55
57
58 MCNAPI RateStatistics(int64 window_size_ms, float scale);
59
60 MCNAPI void Update(int64 count, int64 now_ms);
61
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCNAPI void* $ctor(::webrtc::RateStatistics const& other);
69
70 MCNAPI void* $ctor(int64 window_size_ms, float scale);
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCNAPI void $dtor();
77 // NOLINTEND
78};
79
80} // namespace webrtc
Definition RateStatistics.h:7
MCAPI void EraseOld(int64 now_ms)
MCAPI void Update(int64 count, int64 now_ms)
MCAPI ::std::optional< int64 > Rate(int64 now_ms) const
MCAPI void * $ctor(int64 window_size_ms, float scale)
MCAPI RateStatistics(::webrtc::RateStatistics const &other)
MCAPI RateStatistics(int64 window_size_ms, float scale)
MCAPI void * $ctor(::webrtc::RateStatistics const &other)
Definition Alias.h:14
Definition RateStatistics.h:15