* Enable or disable performance monitoring
(enabled: boolean)
| 340 | * Enable or disable performance monitoring |
| 341 | */ |
| 342 | setEnabled(enabled: boolean): void { |
| 343 | this.enabled = enabled; |
| 344 | |
| 345 | if (!enabled) { |
| 346 | this.clear(); |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | /** |
| 351 | * Export performance data for analysis |