fix: improve doc link navigation and tree display
- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
This commit is contained in:
22
docs/api/debug/profiler/shutdown.md
Normal file
22
docs/api/debug/profiler/shutdown.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Profiler::Shutdown
|
||||
|
||||
```cpp
|
||||
void Shutdown()
|
||||
```
|
||||
|
||||
关闭性能分析器。清理内部数据结构,停止所有活动分析块,重置状态。在程序退出前调用。
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
XCEngine::Debug::Profiler::Get().Initialize();
|
||||
// ... 使用 Profiler ...
|
||||
XCEngine::Debug::Profiler::Get().ExportChromeTracing("profile.json");
|
||||
XCEngine::Debug::Profiler::Get().Shutdown();
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [Profiler 总览](profiler.md) - 返回类总览
|
||||
Reference in New Issue
Block a user