CommonLibVR
GStats.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  struct GStatGroups
6  {
7  // _Mem for GMemoryStat.
8  // _Tks for GTimerStat.
9  // _Cnt for GCounterStat.
10  enum GStatGroup : std::uint32_t
11  {
13 
17 
24 
25  // General memory
32 
33  // Memory allocated for debugging purposes.
38 
39  // Core entries
41  // 16 slots for HeapSummary
42 
43  // How many entries we support by default
44  kGStat_MaxId = 64 << 6, // 64 * 64 = 4096
45  kGStat_EntryCount = 512
46  };
47  };
49 
51  {
53  {
54  kDefault = GStatGroup::kGStatGroup_Renderer,
55 
57 
58  // Video Memory.
62 
63  // Counts
74  };
75  };
77 
78  enum class GHeapID : UPInt
79  {
80  kReserved = 0,
81  kGlobal = 1,
82  kMovieDef = 2,
83  kMovieView = 3,
84  kMovieData = 4,
85  kMeshCache = 5,
86  kFontCache = 6,
87  kImages = 7,
88  kOtherHeaps = 8,
89  kHUDHeaps = 9,
90  };
91 }
Definition: AbsorbEffect.h:6
std::size_t UPInt
Definition: SFTypes.h:5
GHeapID
Definition: GStats.h:79
Definition: GStats.h:6
GStatGroup
Definition: GStats.h:11
@ kGStatGroup_GFxMovieView
Definition: GStats.h:20
@ kGStat_EntryCount
Definition: GStats.h:45
@ kGStat_Default_Mem
Definition: GStats.h:27
@ kGStat_MaxId
Definition: GStats.h:44
@ kGStatGroup_GFxMovieData
Definition: GStats.h:19
@ kGStat_DebugTracker_Mem
Definition: GStats.h:36
@ kGStatGroup_GFxPlayer
Definition: GStats.h:22
@ kGStatHeap_Start
Definition: GStats.h:40
@ kGStat_Debug_Mem
Definition: GStats.h:34
@ kGStat_String_Mem
Definition: GStats.h:30
@ kGStatGroup_GFxRenderCache
Definition: GStats.h:21
@ kGStat_Mem
Definition: GStats.h:26
@ kGStatGroup_Default
Definition: GStats.h:12
@ kGStat_Video_Mem
Definition: GStats.h:31
@ kGStatGroup_Renderer
Definition: GStats.h:15
@ kGStatGroup_GFxFontCache
Definition: GStats.h:18
@ kGStat_DebugHUD_Mem
Definition: GStats.h:35
@ kGStatGroup_RenderGen
Definition: GStats.h:16
@ kGStat_Sound_Mem
Definition: GStats.h:29
@ kGStat_Image_Mem
Definition: GStats.h:28
@ kGStatGroup_GFxIME
Definition: GStats.h:23
@ kGStatGroup_Core
Definition: GStats.h:14
@ kGStat_StatBag_Mem
Definition: GStats.h:37
Definition: GStats.h:51
GStatRenderer
Definition: GStats.h:53
@ kMem
Definition: GStats.h:56
@ kTextureUploadCnt
Definition: GStats.h:65
@ kMaskCnt
Definition: GStats.h:72
@ kCounters
Definition: GStats.h:64
@ kDefault
Definition: GStats.h:54
@ kTextureVMem
Definition: GStats.h:60
@ kLineCnt
Definition: GStats.h:71
@ kDPLineCnt
Definition: GStats.h:68
@ kBufferVMem
Definition: GStats.h:61
@ kVMem
Definition: GStats.h:59
@ kTriangleCnt
Definition: GStats.h:70
@ kDPTriangleCnt
Definition: GStats.h:69
@ kDPCnt
Definition: GStats.h:67
@ kFilterCnt
Definition: GStats.h:73
@ kTextureUpdateCnt
Definition: GStats.h:66