Package org.terasology.monitoring.impl

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

Related Classes of org.terasology.monitoring.impl.PerformanceMonitorImpl

Copyright © 2018 www.massapicom. 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.