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 { class ScopedMemoryCounter; }
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 ::Memory::MemoryCategory getCurrentCategory();
24
25 // vIndex: 2
26 virtual void setCurrentCategory(::Memory::MemoryCategory);
27
28 // vIndex: 3
29 virtual uint64 getCategoryAllocationCount(uint);
30
31 // vIndex: 4
32 virtual uint64 getCategoryAllocatedMemory(uint);
33
34 // vIndex: 5
35 virtual uint64 getCategoryTotalAllocationCount(uint);
36
37 // vIndex: 6
38 virtual char const* getCategoryName(uint);
39
40 // vIndex: 7
41 virtual void publish();
42
43 // vIndex: 8
44 virtual void _addScopedMemoryCounter(::Memory::ScopedMemoryCounter&);
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCFOLD ::Memory::MemoryCategory $getCurrentCategory();
57
58 MCFOLD void $setCurrentCategory(::Memory::MemoryCategory);
59
60 MCFOLD uint64 $getCategoryAllocationCount(uint);
61
62 MCFOLD uint64 $getCategoryAllocatedMemory(uint);
63
64 MCFOLD uint64 $getCategoryTotalAllocationCount(uint);
65
66 MCFOLD char const* $getCategoryName(uint);
67
68 MCFOLD void $publish();
69
70 MCFOLD void $_addScopedMemoryCounter(::Memory::ScopedMemoryCounter&);
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCAPI static void** $vftable();
77 // NOLINTEND
78};
79
80} // namespace Memory
Definition MemoryTracker.h:15
Definition ScopedMemoryCounter.h:7