docs: update memory and threading API docs
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
**类型**: `class` (singleton)
|
||||
|
||||
**头文件**: `XCEngine/Memory/MemoryManager.h`
|
||||
|
||||
**描述**: 全局内存管理器单例,提供系统分配器和各种专用分配器的创建。
|
||||
|
||||
## 概述
|
||||
@@ -14,21 +16,21 @@
|
||||
|
||||
| 方法 | 描述 |
|
||||
|------|------|
|
||||
| `Get` | 获取单例实例 |
|
||||
| [`Get`](get.md) | 获取单例实例 |
|
||||
|
||||
## 公共方法
|
||||
|
||||
| 方法 | 描述 |
|
||||
|------|------|
|
||||
| `Initialize` | 初始化内存管理器 |
|
||||
| `Shutdown` | 关闭内存管理器 |
|
||||
| `GetSystemAllocator` | 获取系统默认分配器 |
|
||||
| `CreateLinearAllocator` | 创建线性分配器 |
|
||||
| `CreatePoolAllocator` | 创建内存池分配器 |
|
||||
| `CreateProxyAllocator` | 创建代理分配器 |
|
||||
| `SetTrackAllocations` | 设置是否跟踪分配 |
|
||||
| `DumpMemoryLeaks` | 输出内存泄漏报告 |
|
||||
| `GenerateMemoryReport` | 生成内存使用报告 |
|
||||
| [`Initialize`](initialize.md) | 初始化内存管理器 |
|
||||
| [`Shutdown`](shutdown.md) | 关闭内存管理器 |
|
||||
| [`GetSystemAllocator`](get-system-allocator.md) | 获取系统默认分配器 |
|
||||
| [`CreateLinearAllocator`](create-linear-allocator.md) | 创建线性分配器 |
|
||||
| [`CreatePoolAllocator`](create-pool-allocator.md) | 创建内存池分配器 |
|
||||
| [`CreateProxyAllocator`](create-proxy-allocator.md) | 创建代理分配器 |
|
||||
| [`SetTrackAllocations`](set-track-allocations.md) | 设置是否跟踪分配 |
|
||||
| [`DumpMemoryLeaks`](dump-memory-leaks.md) | 输出内存泄漏报告 |
|
||||
| [`GenerateMemoryReport`](generate-memory-report.md) | 生成内存使用报告 |
|
||||
|
||||
## 宏定义
|
||||
|
||||
|
||||
Reference in New Issue
Block a user