abbd440bf1
- Added RepairEngine for device repair automation. - Introduced GregFrameRateLimiter to manage frame rates based on performance profiles. - Implemented GregMemoryPressureHandler to handle memory pressure events and optimize garbage collection. - Created GregOperationQueue for managing and throttling operations with priority. - Developed GregPerformanceGovernor to oversee performance management and resource monitoring. - Added GregRequestThrottler to limit concurrent operations and requests. - Implemented GregResourceMonitor to track system resource usage and publish metrics. - Introduced IAssemblyScanner interface for plugin assembly scanning. - Added various public API modules including GregAutomationModule, GregEconomyModule, GregFacilityModule, GregNetworkModule, GregNpcModule, GregPerformanceModule, GregPlayerModule, GregSaveModule, GregServerModule, GregTimeModule, and GregUIModule for enhanced game functionality. - Created event handling and resource snapshot types for better event management and performance tracking.
11 lines
290 B
C#
11 lines
290 B
C#
namespace gregCore.Core.Models;
|
|
|
|
public sealed record ThrottleMetrics
|
|
{
|
|
public int TotalQueued { get; init; }
|
|
public int TotalCompleted { get; init; }
|
|
public int CurrentActive { get; init; }
|
|
public int MaxConcurrent { get; init; }
|
|
public int QueueDepth { get; init; }
|
|
}
|