com.threerings.media.util
Interface PerformanceObserver


public interface PerformanceObserver

This interface should be implemented by classes that wish to register actions to be monitored by the PerformanceMonitor class.


Method Summary
 void checkpoint(String name, int ticks)
          This method is called by the PerformanceMonitor class whenever an action's requested time interval between checkpoints has expired.
 

Method Detail

checkpoint

void checkpoint(String name,
                int ticks)
This method is called by the PerformanceMonitor class whenever an action's requested time interval between checkpoints has expired.

Parameters:
name - the action name.
ticks - the ticks since the last checkpoint.