Add more performance measurements

This commit is contained in:
Mike Primm 2011-11-29 14:51:46 +08:00 committed by mikeprimm
parent 9e605455b9
commit c9dc046e3a
6 changed files with 111 additions and 729 deletions

View file

@ -106,4 +106,21 @@ public interface MapChunkCache {
* Get world
*/
public World getWorld();
/**
* Get total chunks loaded
* @return
*/
public int getChunksLoaded();
/**
* Get total chunk loads attempted
* @return
*/
public int getChunkLoadsAttempted();
/**
* Get total run time processing chunks
* @return
*/
public long getTotalRuntimeNanos();
public long getExceptionCount();
}