35 lines
711 B
C#
35 lines
711 B
C#
using System.ComponentModel;
|
|
using JD.Statistics;
|
|
using JD.Statistics.Metric;
|
|
|
|
namespace JD.TeaBoxAddinSystem.Bootstrap
|
|
{
|
|
[DisplayName("Startup"), Collected]
|
|
public class StartupStatistic : TimerStatistic
|
|
{
|
|
#region Variables
|
|
|
|
[Metric("MemoryUsedAfterStartup")]
|
|
private long m_memoryUsedAfterStartUp;
|
|
|
|
#endregion
|
|
|
|
#region Constructor/Destructor
|
|
|
|
public StartupStatistic() : base(true)
|
|
{
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
public long MemoryUsedAfterStartUp
|
|
{
|
|
get { return m_memoryUsedAfterStartUp; }
|
|
set { m_memoryUsedAfterStartUp = value; }
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|