ME Tunnel + Network Tool

This commit is contained in:
AlgorithmX2
2014-01-23 10:28:12 -06:00
parent 1b77755dd6
commit dfbc8a6c79
46 changed files with 929 additions and 128 deletions
+2 -9
View File
@@ -51,22 +51,15 @@ public class ToolDebugCard extends AEBaseItem
{
int grids = 0;
int totalNodes = 0;
long totalOver5Ticks = 0;
for (Grid g : TickHandler.instance.getGridList())
{
TickManagerCache tmc = (TickManagerCache) g.getCache( ITickManager.class );
grids++;
for (IGridNode n : g.getNodes())
{
totalOver5Ticks += tmc.getAvgNanoTime( n );
totalNodes++;
}
totalNodes += g.getNodes().size();
}
outputMsg( player, "Grids: " + grids );
outputMsg( player, "Total Nodes: " + totalNodes );
// outputMsg( player, "Average Time Used: " + " - " + timeMeasurement( totalOver5Ticks / 5 ) );
}
else
{