LeviLamina
Loading...
Searching...
No Matches
ScreenPerformanceTelemetry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/interface/DataTracker.h"
7
8namespace OreUI {
9
11public:
12 // member variables
13 // NOLINTBEGIN
14 ::ll::TypedStorage<8, 224, ::std::optional<::OreUI::DataTracker>> mDataTracker;
15 ::ll::TypedStorage<1, 1, bool> mUneventfulNavigation;
16 ::ll::TypedStorage<1, 1, bool> mEventfulNavigation;
17 ::ll::TypedStorage<8, 8, double> mLastFrameTime;
18 ::ll::TypedStorage<8, 8, double> mStartFrameTime;
19 // NOLINTEND
20
21public:
22 // member functions
23 // NOLINTBEGIN
24 MCAPI ::std::optional<::OreUI::DataTracker> completeProfilingScope();
25
26 MCAPI void onEventfulNavigation();
27
28 MCAPI void onFirstContentfulPaint(double currentTimeS);
29
30 MCAPI void onFirstMeaningfulPaint(double currentTimeS);
31
32 MCAPI void onSuspend();
33
34 MCAPI void onUneventfulNavigation();
35
36 MCAPI void startProfilingScope(
37 ::std::string const& telemetryIdPreviousScreen,
38 ::std::string const& telemetryIdNewScreen,
39 double currentTimeS
40 );
41
42 MCAPI void tick(double currentTimeS, ::std::vector<::std::string> const& syncedFacets);
43 // NOLINTEND
44};
45
46} // namespace OreUI
Definition ScreenPerformanceTelemetry.h:7