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*/;
117 // NOLINTEND
118
119 public:
120 // member functions
121 // NOLINTBEGIN
122 MCNAPI void mark();
123 // NOLINTEND
124
125 public:
126 // destructor thunk
127 // NOLINTBEGIN
128 MCNAPI void $dtor();
129 // NOLINTEND
130
131 public:
132 // vftables
133 // NOLINTBEGIN
134 MCNAPI static void** $vftable();
135 // NOLINTEND
136 };
137
138 struct Record {
139 public:
140 // member variables
141 // NOLINTBEGIN
146 // NOLINTEND
147
148 public:
149 // prevent constructor by default
150 Record& operator=(Record const&);
151 Record(Record const&);
152 Record();
153 };
154
155 struct RecordGroup {
156 public:
157 // RecordGroup inner types declare
158 // clang-format off
159 struct FullStackRecord;
160 struct Record;
161 // clang-format on
162
163 // RecordGroup inner types define
164 struct Record {
165 public:
166 // member variables
167 // NOLINTBEGIN
170 // NOLINTEND
171
172 public:
173 // prevent constructor by default
174 Record& operator=(Record const&);
175 Record();
176
177 public:
178 // member functions
179 // NOLINTBEGIN
181
182 MCNAPI ::ImguiProfiler::RecordGroup::Record& operator=(::ImguiProfiler::RecordGroup::Record&&);
183
184 MCNAPI ~Record();
185 // NOLINTEND
186
187 public:
188 // constructor thunks
189 // NOLINTBEGIN
191 // NOLINTEND
192
193 public:
194 // destructor thunk
195 // NOLINTBEGIN
196 MCNAPI void $dtor();
197 // NOLINTEND
198 };
199
201 public:
202 // member variables
203 // NOLINTBEGIN
208 // NOLINTEND
209
210 public:
211 // prevent constructor by default
212 FullStackRecord& operator=(FullStackRecord const&);
215
216 public:
217 // member functions
218 // NOLINTBEGIN
220
221 MCNAPI ::ImguiProfiler::RecordGroup::FullStackRecord&
223
225 // NOLINTEND
226
227 public:
228 // constructor thunks
229 // NOLINTBEGIN
231 // NOLINTEND
232
233 public:
234 // destructor thunk
235 // NOLINTBEGIN
236 MCNAPI void $dtor();
237 // NOLINTEND
238 };
239
240 enum class SortType : int {
241 AverageTimeClient = 0,
242 CountTimeClient = 1,
243 TotalTimeClient = 2,
244 AverageTimeServer = 3,
245 CountTimeServer = 4,
246 TotalTimeServer = 5,
247 };
248
249 public:
250 // member variables
251 // NOLINTBEGIN
254 // NOLINTEND
255
256 public:
257 // prevent constructor by default
258 RecordGroup& operator=(RecordGroup const&);
259 RecordGroup(RecordGroup const&);
260 RecordGroup();
261
262 public:
263 // member functions
264 // NOLINTBEGIN
265 MCNAPI bool isGreaterThan(
268 );
269
270 MCNAPI ::ImguiProfiler::RecordGroup::FullStackRecord& operator[](::std::string const& name);
271 // NOLINTEND
272 };
273
274public:
275 // member variables
276 // NOLINTBEGIN
279 // NOLINTEND
280
281public:
282 // prevent constructor by default
283 ImguiProfiler& operator=(ImguiProfiler const&);
286
287public:
288 // virtual functions
289 // NOLINTBEGIN
290 // vIndex: 0
291 virtual ~ImguiProfiler() /*override*/ = default;
292 // NOLINTEND
293
294public:
295 // member functions
296 // NOLINTBEGIN
297 MCNAPI ::TimeAccumulator
298 getTimeAccumulator(::std::string const& group, ::std::string const& name, bool isClientSide);
299
300 MCNAPI void update();
301 // NOLINTEND
302
303public:
304 // static variables
305 // NOLINTBEGIN
306 MCNAPI static ::std::vector<::ImguiProfiler::Record>& sPendingRecords();
307
308 MCNAPI static int& sProduceRecords();
309
310 MCNAPI static ::Bedrock::Threading::Mutex& sRecordMutex();
311 // NOLINTEND
312
313public:
314 // vftables
315 // NOLINTBEGIN
316 MCNAPI static void** $vftable();
317 // NOLINTEND
318};
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:200
MCAPI FullStackRecord(::ImguiProfiler::RecordGroup::FullStackRecord &&)
MCAPI void * $ctor(::ImguiProfiler::RecordGroup::FullStackRecord &&)
MCAPI::ImguiProfiler::RecordGroup::FullStackRecord & operator=(::ImguiProfiler::RecordGroup::FullStackRecord &&)
Definition ImguiProfiler.h:164
MCAPI Record(::ImguiProfiler::RecordGroup::Record const &)
MCAPI::ImguiProfiler::RecordGroup::Record & operator=(::ImguiProfiler::RecordGroup::Record &&)
MCAPI void * $ctor(::ImguiProfiler::RecordGroup::Record const &)
Definition ImguiProfiler.h:155
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:138
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