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 char const* getCategoryName(uint) const;
42
43 // vIndex: 8
44 virtual void publish();
45
46 // vIndex: 9
47 virtual void populateCounters(::std::vector<::Memory::MemoryCategoryCounter>&, uint64) const;
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCFOLD bool $isTracking() const;
54
55 MCFOLD ::Memory::MemoryCategory $getCurrentCategory() const;
56
57 MCFOLD void $setCurrentCategory(::Memory::MemoryCategory);
58
59 MCFOLD uint64 $getCategoryAllocationCount(uint) const;
60
61 MCFOLD uint64 $getCategoryAllocatedMemory(uint) const;
62
63 MCFOLD uint64 $getCategoryTotalAllocationCount(uint) const;
64
65 MCFOLD char const* $getCategoryName(uint) const;
66
67 MCFOLD void $publish();
68
69 MCFOLD void $populateCounters(::std::vector<::Memory::MemoryCategoryCounter>&, uint64) const;
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
78
79} // namespace Memory
Definition MemoryTracker.h:15
static MCAPI void ** $vftable()