PerformanceProfiler
PerformanceProfiler
Performance profiler for tracking service execution times and system metrics. Provides timing capabilities for performance monitoring and optimization.
Project: GridPlacement v6.0
Layer: Godot
Source: Godot/Core/_incomplete/Services/DI/PerformanceProfiler.cs
Namespace: GridBuilding.Core.Services.DI
Kind: class
Parsing Method: AST-based (Roslyn) - NOT regex
⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.
Properties
ActiveTimerCount
Gets the number of operations being currently timed.
Methods
StartTiming
Starts timing a named operation.
Returns: IDisposable
Parameters:
string operationName
RecordTiming
Records a timing measurement for an operation.
Returns: void
Parameters:
string operationNamelong elapsedMs
GetStats
Gets statistics for a specific operation.
Returns: PerformanceStats?
Parameters:
string operationName
GetAllStats
Gets statistics for all recorded operations.
Returns: Dictionary<string, PerformanceStats>
Clear
Clears all recorded timing data.
Returns: void
Dispose
Returns: void