LeviLamina
Loading...
Searching...
No Matches
RateStatistics.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace webrtc {
6
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 public:
31 // member functions
32 // NOLINTBEGIN
33 MCNAPI explicit Bucket(int64 timestamp);
34 // NOLINTEND
35
36 public:
37 // constructor thunks
38 // NOLINTBEGIN
39 MCNAPI void* $ctor(int64 timestamp);
40 // NOLINTEND
41 };
42
43public:
44 // member variables
45 // NOLINTBEGIN
54 // NOLINTEND
55
56public:
57 // prevent constructor by default
58 RateStatistics& operator=(RateStatistics const&);
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCNAPI void EraseOld(int64 now_ms);
65
66 MCNAPI ::std::optional<int64> Rate(int64 now_ms) const;
67
69
70 MCNAPI RateStatistics(int64 window_size_ms, float scale);
71
72 MCNAPI void Update(int64 count, int64 now_ms);
73
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80 MCNAPI void* $ctor(::webrtc::RateStatistics const& other);
81
82 MCNAPI void* $ctor(int64 window_size_ms, float scale);
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCNAPI void $dtor();
89 // NOLINTEND
90};
91
92} // 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
MCAPI Bucket(int64 timestamp)
MCAPI void * $ctor(int64 timestamp)