LeviLamina
Loading...
Searching...
No Matches
MemoryTracker.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/memory/MemoryCategory.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Memory { struct MemoryCategoryCounter; }
11// clang-format on
12
13namespace Memory {
14
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 // vIndex: 0
20 virtual ~MemoryTracker() = default;
21
22 // vIndex: 1
23 virtual bool isTracking() const;
24
25 // vIndex: 2
26 virtual ::Memory::MemoryCategory getCurrentCategory() const;
27
28 // vIndex: 3
29 virtual void setCurrentCategory(::Memory::MemoryCategory);
30
31 // vIndex: 4
32 virtual uint64 getCategoryAllocationCount(uint) const;
33
34 // vIndex: 5
35 virtual uint64 getCategoryAllocatedMemory(uint) const;
36
37 // vIndex: 6
38 virtual uint64 getCategoryTotalAllocationCount(uint) const;
39
40 // vIndex: 7
41 virtual void publish();
42
43 // vIndex: 8
44 virtual void populateCounters(::std::vector<::Memory::MemoryCategoryCounter>&, uint64) const;
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCFOLD bool $isTracking() const;
51
52 MCFOLD ::Memory::MemoryCategory $getCurrentCategory() const;
53
54 MCFOLD void $setCurrentCategory(::Memory::MemoryCategory);
55
56 MCFOLD uint64 $getCategoryAllocationCount(uint) const;
57
58 MCFOLD uint64 $getCategoryAllocatedMemory(uint) const;
59
60 MCFOLD uint64 $getCategoryTotalAllocationCount(uint) const;
61
62 MCFOLD void $publish();
63
64 MCFOLD void $populateCounters(::std::vector<::Memory::MemoryCategoryCounter>&, uint64) const;
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
73
74} // namespace Memory
Definition MemoryTracker.h:15
static MCAPI void ** $vftable()