Package nallar.tickthreading.minecraft.profiling

Examples of nallar.tickthreading.minecraft.profiling.EntityTickProfiler.record()


            Log.severe("Seems to be caused by an entity being in a broken state, set to an impossible/incorrect world. Killing this entity.");
            entity.setDead();
          }
        }
        if (profilingEnabled) {
          entityTickProfiler.record(entity, System.nanoTime() - startTime);
        }
      }
    } finally {
      entitySet.done();
    }
View Full Code Here


        } catch (Throwable throwable) {
          Log.severe("Exception ticking TileEntity " + Log.toString(tileEntity), throwable);
        } finally {
          if (profilingEnabled) {
            long oldStartTime = startTime;
            entityTickProfiler.record(tileEntity, (startTime = System.nanoTime()) - oldStartTime);
          }
        }
      }
    } finally {
      tileEntitySet.done();
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.