Skip to main content

BudgetedUpdateModuleProfiler

A class in Root.Township, the global namespace.

Static store of timing data per BudgetedUpdateModule, filled while allowance debugging is on.

Constructors​

MemberWhat it is
BudgetedUpdateModuleProfiler()Creates a BudgetedUpdateModuleProfiler with default values.

Fields​

1 private and internal field
MemberWhat it is
private static Dictionary<BudgetedUpdateModule, BudgetedUpdateModuleProfiler.BudgetedData> elapsedTimeBacking field for ElapsedTime.

Properties​

MemberWhat it is
static Dictionary<BudgetedUpdateModule, BudgetedUpdateModuleProfiler.BudgetedData> ElapsedTime { get; }Recorded data per module.

Methods​

MemberWhat it is
static void RecordUsageTime(BudgetedUpdateModule module, double elapsedMilliseconds)Adds one timing sample for a module, creating its entry if needed, and stores its registered method count.