Remove recent optional native collision frame milliseconds stat

Unnecessary since this has now been broken down into space collisions and geom collisions
0.7.4.1
Justin Clark-Casey (justincc) 2012-06-01 02:35:11 +01:00
parent 31343aa7c3
commit d1b5f8d9d7
1 changed files with 1 additions and 13 deletions

View File

@ -155,11 +155,6 @@ namespace OpenSim.Region.Physics.OdePlugin
/// </summary>
public const string ODENativeStepFrameMsStatName = "ODENativeStepFrameMS";
/// <summary>
/// Stat name for the number of milliseconds that ODE spends in native collision code.
/// </summary>
public const string ODENativeCollisionFrameMsStatName = "ODENativeCollisionFrameMS";
/// <summary>
/// Stat name for the number of milliseconds that ODE spends in native space collision code.
/// </summary>
@ -4149,10 +4144,6 @@ namespace OpenSim.Region.Physics.OdePlugin
{
returnStats = new Dictionary<string, float>(m_stats);
returnStats[ODENativeCollisionFrameMsStatName]
= returnStats[ODENativeSpaceCollisionFrameMsStatName]
+ returnStats[ODENativeGeomCollisionFrameMsStatName];
InitializeExtraStats();
}
@ -4161,9 +4152,6 @@ namespace OpenSim.Region.Physics.OdePlugin
private void InitializeExtraStats()
{
// No need to zero since this is calculated by addition
// m_stats[ODENativeCollisionFrameMsStatName] = 0;
m_stats[ODETotalFrameMsStatName] = 0;
m_stats[ODENativeStepFrameMsStatName] = 0;
m_stats[ODENativeSpaceCollisionFrameMsStatName] = 0;