LeviLamina
Loading...
Searching...
No Matches
RateTracker.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace rtc {
6
8public:
9 // member variables
10 // NOLINTBEGIN
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 RateTracker& operator=(RateTracker const&);
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 0
30 virtual ~RateTracker() = default;
31
32 // vIndex: 1
33 virtual int64 Time() const;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI void AddSamples(int64);
40
41 MCAPI void AddSamplesAtTime(int64, int64);
42
43 MCAPI double ComputeRateForInterval(int64) const;
44
45 MCAPI void EnsureInitialized();
46
47 MCAPI uint64 NextBucketIndex(uint64) const;
48
49 MCAPI RateTracker(int64, uint64);
50
51 MCAPI int64 TotalSampleCount() const;
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor(int64, uint64);
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCAPI static void** $vftable();
76 // NOLINTEND
77};
78
79} // namespace rtc
Definition RateTracker.h:7
Definition Alias.h:14