* 开始采样
(name: string, category: ProfileCategory = ProfileCategory.Custom)
| 80 | * 开始采样 |
| 81 | */ |
| 82 | public static beginSample(name: string, category: ProfileCategory = ProfileCategory.Custom): SampleHandle | null { |
| 83 | return ProfilerSDK.getInstance().beginSample(name, category); |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * 结束采样 |
no test coverage detected