13 enum class Stage :
int {
14 CacheCodescreenStart = 0,
15 CacheCodescreenFinish = 1,
17 WebviewLoadFinish = 3,
20 ProjectLoadFinish = 6,
21 TutorialLoadStart = 7,
22 TutorialLoadFinish = 8,
23 EditorContentLoaded = 9,
25 BlocksContentLoaded = 11,
30 FirstCommandSent = 16,
31 FirstCommandReceived = 17,
35 enum class Flags :
int {
36 AwaitingFirstCommandSent = 0,
37 AwaitingFirstCommandReceived = 1,
38 AwaitingFirstCommandRun = 2,
42 FirstSessionLaunch = 6,
52 ::CodeBuilderPerformance::Stage stage,
53 ::std::string_view codeProjectId,
56 ::std::chrono::milliseconds duration
59 MCNAPI static ::std::chrono::milliseconds
getElapsedTime(::CodeBuilderPerformance::Stage stage);
61 MCNAPI static ::std::string
toString(::CodeBuilderPerformance::Stage stage);
75 MCNAPI static ::std::optional<::std::chrono::steady_clock::time_point>&
mCodeRunStart();
81 MCNAPI static ::std::bitset<8>&
mFlags();
83 MCNAPI static ::std::optional<::std::chrono::steady_clock::time_point>&
mLastTimestamp();