976e219f56
dependencies of media on miso. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@562 542714f4-19e9-0310-aa3c-eee0fc999fb1
22 lines
629 B
Java
22 lines
629 B
Java
//
|
|
// $Id: PerformanceObserver.java,v 1.2 2001/10/25 22:08:29 mdb Exp $
|
|
|
|
package com.threerings.media.util;
|
|
|
|
/**
|
|
* This interface should be implemented by classes that wish to register
|
|
* actions to be monitored by the {@link PerformanceMonitor} class.
|
|
*/
|
|
public interface PerformanceObserver
|
|
{
|
|
/**
|
|
* This method is called by the {@link PerformanceMonitor} class
|
|
* whenever an action's requested time interval between checkpoints
|
|
* has expired.
|
|
*
|
|
* @param name the action name.
|
|
* @param ticks the ticks since the last checkpoint.
|
|
*/
|
|
public void checkpoint (String name, int ticks);
|
|
}
|