Show / Hide Table of Contents

Interface IResourceUsageBucket

Namespace: SuperOffice.Diagnostics
Assembly: SoCore.dll
Syntax
public interface IResourceUsageBucket

Methods

ClearUsage()

Declaration
void ClearUsage()

GetResourceUsage()

Declaration
ResourceUsage GetResourceUsage()
Returns
Type Description
ResourceUsage

RecordDatabaseRecords(int)

Declaration
void RecordDatabaseRecords(int records)
Parameters
Type Name Description
int records

RecordUsage(SoTimerType, string, Func<string>, TimeSpan, TimeSpan, int)

Declaration
void RecordUsage(SoTimerType type, string category, Func<string> getDescription, TimeSpan clockTime, TimeSpan cpuTime, int items)
Parameters
Type Name Description
SoTimerType type
string category
Func<string> getDescription
TimeSpan clockTime
TimeSpan cpuTime
int items

Extension Methods

EnumUtil.MapEnums<From, To>(From)
UsageCalculator.RecordDatabaseRecordsFromResult(IResourceUsageBucket, object)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top