docs: update core and debug API docs

This commit is contained in:
2026-03-20 02:35:07 +08:00
parent 0c073db4e8
commit e165dbea1c
73 changed files with 743 additions and 391 deletions

View File

@@ -11,6 +11,10 @@ void ExportChromeTracing(const Containers::String& filePath)
**参数:**
- `filePath` - 输出文件路径
**返回:** `void`
**线程安全:** ✅ 线程安全
**复杂度:** O(n)n 为记录的样本数量
**示例:**
@@ -35,7 +39,7 @@ void RenderFrame() {
XCEngine::Debug::Profiler::Get().EndFrame();
}
// 运行一段时间后导出
// 运行一段时间后导出(需在 Shutdown 前调用)
XCEngine::Debug::Profiler::Get().ExportChromeTracing("trace.json");
XCEngine::Debug::Profiler::Get().Shutdown();
```