From b2454c59f3a5ddf4e2ded27e243a5b1fa21731f3 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Tue, 3 Dec 2002 19:29:35 +0000 Subject: [PATCH] Removed performance monitor stuff because we can track our frame rate without expensive calls to System.currentTimeMillis(). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2016 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/media/FrameManager.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/java/com/threerings/media/FrameManager.java b/src/java/com/threerings/media/FrameManager.java index 771601d6d..e83e9c29f 100644 --- a/src/java/com/threerings/media/FrameManager.java +++ b/src/java/com/threerings/media/FrameManager.java @@ -1,5 +1,5 @@ // -// $Id: FrameManager.java,v 1.24 2002/12/03 19:28:04 mdb Exp $ +// $Id: FrameManager.java,v 1.25 2002/12/03 19:29:35 mdb Exp $ package com.threerings.media; @@ -37,9 +37,6 @@ import com.samskivert.util.StringUtil; import com.threerings.media.timer.MediaTimer; import com.threerings.media.timer.SystemMediaTimer; -import com.threerings.media.util.PerformanceMonitor; -import com.threerings.media.util.PerformanceObserver; - /** * Provides a central point from which the computation for each "frame" or * tick can be dispatched. This assumed that the application structures @@ -93,7 +90,6 @@ import com.threerings.media.util.PerformanceObserver; * SIMPLE_SCROLL_MODE. */ public class FrameManager - implements PerformanceObserver { /** * Creates a frame manager that will use a {@link SystemMediaTimer} to @@ -129,9 +125,6 @@ public class FrameManager // turn off double buffering for the whole business because we // handle repaints _remgr.setDoubleBufferingEnabled(false); - - // register with the performance monitor - PerformanceMonitor.register(this, "frame-rate", 1000l); } /** @@ -221,9 +214,6 @@ public class FrameManager // repaint our participants paintParticipants(tickStamp); } - -// // note that we've done a frame -// PerformanceMonitor.tick(this, "frame-rate"); } /**