Package com.comphenix.protocol.timing

Examples of com.comphenix.protocol.timing.TimingReportGenerator.saveTo()


    try {
      File destination = new File(plugin.getDataFolder(), "Timings - " + System.currentTimeMillis() + ".txt");
      TimingReportGenerator generator = new TimingReportGenerator();
     
      // Print to a text file
      generator.saveTo(destination, manager);
      manager.clear();
     
    } catch (IOException e) {
      reporter.reportMinimal(plugin, "saveTimings()", e);
    }
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.