LeviLamina
Loading...
Searching...
No Matches
AtomicTimeAccumulator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class AtomicTimeAccumulator {
6public:
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
14public:
15 // member functions
16 // NOLINTBEGIN
17 MCAPI AtomicTimeAccumulator();
18
19 MCAPI void addTime(::std::chrono::nanoseconds const& time);
20 // NOLINTEND
21
22public:
23 // constructor thunks
24 // NOLINTBEGIN
25 MCFOLD void* $ctor();
26 // NOLINTEND
27};