PerformanceReportEntry

Class in ChivalrousGames.Common.Diagnostics / Inherits from: MonoBehaviour

Description

Simple class that stores and makes available data collected by a PerformanceAnalyzer for a specified operation. It is attached to a game object in the scene.

Properties

EntryName string ReadOnly
The name of this report entry.
Only the PerformanceAnalyzer should populate that information.
Count int ReadOnly
Number of times this operation was executed and calculated by the PerformanceAnalyzer.
TotalDuration long ReadOnly
Total time elapsed (as a TimeSpan) for all the executions of this report entry.
ReportDuration long ReadOnly
Total time elapsed (in Ticks) for the whole PerformanceReport.
Only the PerformanceAnalyzer should populate that information.