LeviLamina
Loading...
Searching...
No Matches
ImguiProfiler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7
8// auto generated forward declare list
9// clang-format off
10class TimeAccumulator;
11namespace Bedrock::Threading { class Mutex; }
12// clang-format on
13
15public:
16 // ImguiProfiler inner types declare
17 // clang-format off
18 class ManualTimer;
19 struct Record;
20 struct RecordGroup;
21 class ScopedTimer;
22 class Timer;
23 // clang-format on
24
25 // ImguiProfiler inner types define
26 class Timer {
27 public:
28 // Timer inner types declare
29 // clang-format off
30 struct Signature;
31 // clang-format on
32
33 // Timer inner types define
34 struct Signature {
35 public:
36 // member variables
37 // NOLINTBEGIN
40 // NOLINTEND
41
42 public:
43 // prevent constructor by default
44 Signature& operator=(Signature const&);
45 Signature(Signature const&);
46 Signature();
47 };
48
49 public:
50 // member variables
51 // NOLINTBEGIN
56 // NOLINTEND
57
58 public:
59 // prevent constructor by default
60 Timer& operator=(Timer const&);
61 Timer(Timer const&);
62 Timer();
63
64 public:
65 // virtual functions
66 // NOLINTBEGIN
67 // vIndex: 0
68 virtual ~Timer() = default;
69 // NOLINTEND
70
71 public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76 };
77
79 public:
80 // virtual functions
81 // NOLINTBEGIN
82 // vIndex: 0
83 virtual ~ScopedTimer() /*override*/;
84 // NOLINTEND
85
86 public:
87 // destructor thunk
88 // NOLINTBEGIN
89 MCNAPI void $dtor();
90 // NOLINTEND
91
92 public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97 };
98
100 public:
101 // member variables
102 // NOLINTBEGIN
104 // NOLINTEND
105
106 public:
107 // prevent constructor by default
108 ManualTimer& operator=(ManualTimer const&);
109 ManualTimer(ManualTimer const&);
110 ManualTimer();
111
112 public:
113 // virtual functions
114 // NOLINTBEGIN
115 // vIndex: 0
116 virtual ~ManualTimer() /*override*/ = default;
117 // NOLINTEND
118
119 public:
120 // vftables
121 // NOLINTBEGIN
122 MCNAPI static void** $vftable();
123 // NOLINTEND
124 };
125
126 struct Record {
127 public:
128 // member variables
129 // NOLINTBEGIN
134 // NOLINTEND
135
136 public:
137 // prevent constructor by default
138 Record& operator=(Record const&);
139 Record(Record const&);
140 Record();
141 };
142
143 struct RecordGroup {
144 public:
145 // RecordGroup inner types declare
146 // clang-format off
147 struct FullStackRecord;
148 struct Record;
149 // clang-format on
150
151 // RecordGroup inner types define
152 struct Record {
153 public:
154 // member variables
155 // NOLINTBEGIN
158 // NOLINTEND
159
160 public:
161 // prevent constructor by default
162 Record& operator=(Record const&);
163 Record();
164
165 public:
166 // member functions
167 // NOLINTBEGIN
169
170 MCNAPI ::ImguiProfiler::RecordGroup::Record& operator=(::ImguiProfiler::RecordGroup::Record&&);
171
172 MCNAPI ~Record();
173 // NOLINTEND
174
175 public:
176 // constructor thunks
177 // NOLINTBEGIN
179 // NOLINTEND
180
181 public:
182 // destructor thunk
183 // NOLINTBEGIN
184 MCNAPI void $dtor();
185 // NOLINTEND
186 };
187
189 public:
190 // member variables
191 // NOLINTBEGIN
196 // NOLINTEND
197
198 public:
199 // prevent constructor by default
200 FullStackRecord& operator=(FullStackRecord const&);
203
204 public:
205 // member functions
206 // NOLINTBEGIN
208
209 MCNAPI ::ImguiProfiler::RecordGroup::FullStackRecord&
211
213 // NOLINTEND
214
215 public:
216 // constructor thunks
217 // NOLINTBEGIN
219 // NOLINTEND
220
221 public:
222 // destructor thunk
223 // NOLINTBEGIN
224 MCNAPI void $dtor();
225 // NOLINTEND
226 };
227
228 enum class SortType : int {
229 AverageTimeClient = 0,
230 CountTimeClient = 1,
231 TotalTimeClient = 2,
232 AverageTimeServer = 3,
233 CountTimeServer = 4,
234 TotalTimeServer = 5,
235 };
236
237 public:
238 // member variables
239 // NOLINTBEGIN
242 // NOLINTEND
243
244 public:
245 // prevent constructor by default
246 RecordGroup& operator=(RecordGroup const&);
247 RecordGroup(RecordGroup const&);
248 RecordGroup();
249
250 public:
251 // member functions
252 // NOLINTBEGIN
253 MCNAPI bool isGreaterThan(
256 );
257
258 MCNAPI ::ImguiProfiler::RecordGroup::FullStackRecord& operator[](::std::string const& name);
259 // NOLINTEND
260 };
261
262public:
263 // member variables
264 // NOLINTBEGIN
267 // NOLINTEND
268
269public:
270 // prevent constructor by default
271 ImguiProfiler& operator=(ImguiProfiler const&);
274
275public:
276 // virtual functions
277 // NOLINTBEGIN
278 // vIndex: 0
279 virtual ~ImguiProfiler() /*override*/ = default;
280 // NOLINTEND
281
282public:
283 // member functions
284 // NOLINTBEGIN
285 MCNAPI ::TimeAccumulator
286 getTimeAccumulator(::std::string const& group, ::std::string const& name, bool isClientSide);
287
288 MCNAPI void update();
289 // NOLINTEND
290
291public:
292 // static variables
293 // NOLINTBEGIN
294 MCNAPI static ::std::vector<::ImguiProfiler::Record>& sPendingRecords();
295
296 MCNAPI static int& sProduceRecords();
297
298 MCNAPI static ::Bedrock::Threading::Mutex& sRecordMutex();
299 // NOLINTEND
300
301public:
302 // vftables
303 // NOLINTBEGIN
304 MCNAPI static void** $vftable();
305 // NOLINTEND
306};
Definition EnableNonOwnerReferences.h:7
Definition ImguiProfiler.h:99
static MCAPI void ** $vftable()
Definition ImguiProfiler.h:78
static MCAPI void ** $vftable()
Definition ImguiProfiler.h:26
static MCAPI void ** $vftable()
Definition TimeAccumulator.h:5
Definition ImguiProfiler.h:188
MCAPI FullStackRecord(::ImguiProfiler::RecordGroup::FullStackRecord &&)
MCAPI void * $ctor(::ImguiProfiler::RecordGroup::FullStackRecord &&)
MCAPI::ImguiProfiler::RecordGroup::FullStackRecord & operator=(::ImguiProfiler::RecordGroup::FullStackRecord &&)
Definition ImguiProfiler.h:152
MCAPI Record(::ImguiProfiler::RecordGroup::Record const &)
MCAPI::ImguiProfiler::RecordGroup::Record & operator=(::ImguiProfiler::RecordGroup::Record &&)
MCAPI void * $ctor(::ImguiProfiler::RecordGroup::Record const &)
Definition ImguiProfiler.h:143
MCAPI bool isGreaterThan(::ImguiProfiler::RecordGroup::FullStackRecord const &lhs, ::ImguiProfiler::RecordGroup::FullStackRecord const &rhs)
MCAPI::ImguiProfiler::RecordGroup::FullStackRecord & operator[](::std::string const &name)
Definition ImguiProfiler.h:126
Definition ImguiProfiler.h:34
Definition ImguiProfiler.h:14
static MCAPI int & sProduceRecords()
MCAPI::TimeAccumulator getTimeAccumulator(::std::string const &group, ::std::string const &name, bool isClientSide)
MCAPI void update()
static MCAPI void ** $vftable()
static MCAPI ::Bedrock::Threading::Mutex & sRecordMutex()
static MCAPI ::std::vector<::ImguiProfiler::Record > & sPendingRecords()
Definition Alias.h:14