Add more performance measurements
This commit is contained in:
parent
9e605455b9
commit
c9dc046e3a
6 changed files with 111 additions and 729 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue