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 MCNAPI void AddSamples(int64);
40
41 MCNAPI void AddSamplesAtTime(int64, int64);
42
43 MCNAPI double ComputeRateForInterval(int64) const;
44
45 MCNAPI void EnsureInitialized();
46
47 MCNAPI uint64 NextBucketIndex(uint64) const;
48
49 MCNAPI RateTracker(int64, uint64);
50
51 MCNAPI int64 TotalSampleCount() const;
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCNAPI void* $ctor(int64, uint64);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71};
72
73} // namespace rtc
Definition RateTracker.h:7
MCAPI void AddSamplesAtTime(int64, int64)
static MCAPI void ** $vftable()
MCAPI RateTracker(int64, uint64)
MCAPI void EnsureInitialized()
MCAPI double ComputeRateForInterval(int64) const
MCAPI int64 TotalSampleCount() const
MCAPI void * $ctor(int64, uint64)
MCAPI uint64 NextBucketIndex(uint64) const
MCAPI void AddSamples(int64)
Definition Alias.h:14