LeviLamina
Loading...
Searching...
No Matches
ScopedTimedSection.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace ChunkPerformanceTrackingUtil {
6
7struct ScopedTimedSection {
8#ifdef LL_PLAT_S
9#else // LL_PLAT_C
10public:
11 // prevent constructor by default
12 ScopedTimedSection();
13
14#endif
15public:
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
23public:
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