LeviLamina
Loading...
Searching...
No Matches
AtomicTimeAccumulator.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
class
AtomicTimeAccumulator
{
6
public
:
7
// member variables
8
// NOLINTBEGIN
9
::ll::TypedStorage<8, 8, ::std::atomic<uint64>> mCount;
10
::ll::TypedStorage<8, 8, ::std::atomic<uint64>> mNanoseconds;
11
::ll::TypedStorage<8, 8, ::std::atomic<uint64>> mMaxSample;
12
// NOLINTEND
13
14
public
:
15
// member functions
16
// NOLINTBEGIN
17
#ifdef LL_PLAT_C
18
MCAPI
void
addTime(::std::chrono::nanoseconds
const
& time);
19
#endif
20
// NOLINTEND
21
};
AtomicTimeAccumulator
Definition
AtomicTimeAccumulator.h:5
src
mc
world
level
chunk
AtomicTimeAccumulator.h
Generated on
for LeviLamina by
1.16.1