From 711dde34e4e5da954a58393e1a177e8c6969b8b5 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sun, 1 Nov 2009 19:37:40 +1100 Subject: * Implements new 'Monitoring' system for reporting performance. * Mostly the same set as the StatsMonitor used for Viewer notification, but exposes some new frametimes - including EventMS, PhysicsUpdateMS, LandUpdateMS; new memory monitoring - both GC.TotalMemory and Process.PrivateWorkingMemory64; also exposes ThreadCount (using System.Diagnostics.Process) * Type 'monitor report' on the console to see output. * SNMP Implementation forthcoming. --- OpenSim/Region/CoreModules/Framework/Monitoring/IMonitor.cs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 OpenSim/Region/CoreModules/Framework/Monitoring/IMonitor.cs (limited to 'OpenSim/Region/CoreModules/Framework/Monitoring/IMonitor.cs') diff --git a/OpenSim/Region/CoreModules/Framework/Monitoring/IMonitor.cs b/OpenSim/Region/CoreModules/Framework/Monitoring/IMonitor.cs new file mode 100644 index 0000000..a51dccd --- /dev/null +++ b/OpenSim/Region/CoreModules/Framework/Monitoring/IMonitor.cs @@ -0,0 +1,9 @@ +namespace OpenSim.Region.CoreModules.Framework.Monitoring +{ + interface IMonitor + { + double GetValue(); + string GetName(); + string GetFriendlyValue(); // Convert to readable numbers + } +} -- cgit v1.1