Examples of PerformanceMonitorImpl


Examples of org.terasology.monitoring.impl.PerformanceMonitorImpl

     *
     * @param enabled Turns the performance monitoring system on or off.
     */
    public static void setEnabled(boolean enabled) {
        if (enabled && !(instance instanceof PerformanceMonitorImpl)) {
            instance = new PerformanceMonitorImpl();
        } else if (!enabled && !(instance instanceof NullPerformanceMonitor)) {
            instance = new NullPerformanceMonitor();
        }
    }
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.