aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/MetricsCollector.cs
diff options
context:
space:
mode:
authorOren Hurvitz2015-07-27 09:03:14 +0300
committerOren Hurvitz2015-08-11 07:35:41 +0100
commit287096d826060d96454d2b186e082a95f1e5724a (patch)
tree79b1a97e593945b023745f70e055fbdfa5884f71 /OpenSim/Framework/MetricsCollector.cs
parentFixed mistakes related to confusion between Environment.TickCount (millisecon... (diff)
downloadopensim-SC-287096d826060d96454d2b186e082a95f1e5724a.zip
opensim-SC-287096d826060d96454d2b186e082a95f1e5724a.tar.gz
opensim-SC-287096d826060d96454d2b186e082a95f1e5724a.tar.bz2
opensim-SC-287096d826060d96454d2b186e082a95f1e5724a.tar.xz
Improved calculation of Script Execution TimeStarted
1. Use a Stopwatch (a high-resolution timer) 2. Whenever we start a new measurement period, zero out the total execution time (previously it just kept accumulating) 3. Changed the measurement period from 30 minutes to 30 seconds. This is much more useful in the "Top Scripts" dialog, as it shows currently active scripts
Diffstat (limited to 'OpenSim/Framework/MetricsCollector.cs')
0 files changed, 0 insertions, 0 deletions