Package net.minecraft.profiler

Examples of net.minecraft.profiler.Profiler.endSection()


        world.tick();
        profiler.endStartSection("entityTick");
        world.updateEntities();
        profiler.endStartSection("postForgeTick");
        FMLCommonHandler.instance().onPostWorldTick(world);
        profiler.endSection();
        profiler.startSection("tracker");
        world.getEntityTracker().updateTrackedEntities();
        profiler.endSection();
        if (tickCount % 14 == 0) {
          exceptionCount.put(id, 0);
View Full Code Here


        profiler.endStartSection("postForgeTick");
        FMLCommonHandler.instance().onPostWorldTick(world);
        profiler.endSection();
        profiler.startSection("tracker");
        world.getEntityTracker().updateTrackedEntities();
        profiler.endSection();
        if (tickCount % 14 == 0) {
          exceptionCount.put(id, 0);
        }
        if (TickThreading.checkSaveInterval(tickCount)) {
          theProfiler.startSection("save");
View Full Code Here

          } finally {
            currentlySaving.getAndDecrement();
          }
          theProfiler.endSection();
        }
        profiler.endSection();

        long[] tickTimes = worldTickLengths.get(name);
        if (tickTimes == null) {
          tickTimes = new long[100];
          worldTickLengths.put(name, tickTimes);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.