Remove the frame rate logging because we have a handy dandy visual display
now. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2026 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: FrameManager.java,v 1.28 2002/12/04 22:07:28 shaper Exp $
|
// $Id: FrameManager.java,v 1.29 2002/12/04 23:21:25 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.media;
|
package com.threerings.media;
|
||||||
|
|
||||||
@@ -734,10 +734,6 @@ public class FrameManager
|
|||||||
long time = (elapsed - _lastTick);
|
long time = (elapsed - _lastTick);
|
||||||
_fps[0] = _tries * 1000f / time;
|
_fps[0] = _tries * 1000f / time;
|
||||||
_fps[1] = _ticks * 1000f / time;
|
_fps[1] = _ticks * 1000f / time;
|
||||||
if (REPORT_FRAME_RATE) {
|
|
||||||
Log.info("Frame manager stats [tries/sec=" + _fps[0] +
|
|
||||||
", ticks/sec=" + _fps[1] + "].");
|
|
||||||
}
|
|
||||||
_lastTick = elapsed;
|
_lastTick = elapsed;
|
||||||
_ticks = _tries = 0;
|
_ticks = _tries = 0;
|
||||||
}
|
}
|
||||||
@@ -767,9 +763,6 @@ public class FrameManager
|
|||||||
|
|
||||||
/** Used to compute metrics. */
|
/** Used to compute metrics. */
|
||||||
protected long _lastTick;
|
protected long _lastTick;
|
||||||
|
|
||||||
/** Toggles whether or not metrics are reported. */
|
|
||||||
protected static final boolean REPORT_FRAME_RATE = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** The entites that are ticked each frame. */
|
/** The entites that are ticked each frame. */
|
||||||
|
|||||||
Reference in New Issue
Block a user