LeviLamina
Loading...
Searching...
No Matches
OSWriteThrottleTracker.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Core::WriteThrottledOS {
6
8public:
9 // OSWriteThrottleTracker inner types declare
10 // clang-format off
13 // clang-format on
14
15 // OSWriteThrottleTracker inner types define
17 public:
18 // member variables
19 // NOLINTBEGIN
22 // NOLINTEND
23
24 public:
25 // prevent constructor by default
29 };
30
32 public:
33 // member variables
34 // NOLINTBEGIN
40 // NOLINTEND
41
42 public:
43 // prevent constructor by default
47 };
48
49public:
50 // virtual functions
51 // NOLINTBEGIN
52 // vIndex: 0
53 virtual ~OSWriteThrottleTracker() = default;
54
55 // vIndex: 1
56 virtual bool isWriteThrottledOS() const;
57
58 // vIndex: 2
59 virtual ::Core::WriteThrottledOS::OSWriteThrottleTracker::OSWriteThrottleStats
60 getCurrentWriteThrottleStats(::std::optional<uint64>) const;
61
62 // vIndex: 3
63 virtual uint64 getEstimatedUnthrottledWriteSpeedBytes() const;
64
65 // vIndex: 4
66 virtual uint64 getBudgetAccrualBytesPerSecond() const;
67
68 // vIndex: 5
69 virtual uint64 getMaxBudgetBytes() const;
70
71 // vIndex: 6
72 virtual uint64 getMinBudgetForPlayableExperience(int) const;
73
74 // vIndex: 7
75 virtual uint64 getBudgetForWriteBudgetReplenished() const;
76
77 // vIndex: 8
78 virtual uint64 getBudgetForWriteBudgetLow() const;
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84
85 // NOLINTEND
86
87public:
88 // virtual function thunks
89 // NOLINTBEGIN
90
91 // NOLINTEND
92};
93
94} // namespace Core::WriteThrottledOS
Definition OSWriteThrottleTracker.h:7
Definition Alias.h:14