LeviLamina
Loading...
Searching...
No Matches
ScopedTimedSection.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
namespace
ChunkPerformanceTrackingUtil {
6
7
struct
ScopedTimedSection {
8
#ifdef LL_PLAT_S
9
#else
// LL_PLAT_C
10
public
:
11
// prevent constructor by default
12
ScopedTimedSection();
13
14
#endif
15
public
:
16
// member functions
17
// NOLINTBEGIN
18
#ifdef LL_PLAT_C
19
MCAPI
explicit
ScopedTimedSection(::std::function<
void
(::std::chrono::nanoseconds
const
&)> timeCompleteCallback);
20
#endif
21
// NOLINTEND
22
23
public
:
24
// constructor thunks
25
// NOLINTBEGIN
26
#ifdef LL_PLAT_C
27
MCAPI
void
* $ctor(::std::function<
void
(::std::chrono::nanoseconds
const
&)> timeCompleteCallback);
28
#endif
29
// NOLINTEND
30
};
31
32
}
// namespace ChunkPerformanceTrackingUtil
src
mc
world
level
chunk
chunk_performance_tracking_util
ScopedTimedSection.h
Generated on
for LeviLamina by
1.16.1