Package flex2.compiler

Examples of flex2.compiler.CompilerBenchmarkHelper


   * override of initBechmarks allows us to collect staticstics on embedded compilers
   */
    public void initBenchmarks()
    {
      super.initBenchmarks();    // set up the primary benchmarkers
      benchmarkEmbeddedHelper = new CompilerBenchmarkHelper(getName());
      benchmarkEmbeddedHelper.initBenchmarks();
       
        // now pass down the embedded helper to our sub compilers.
        // (they will in turn send it as the main helper to their embedded asc compilers)
        intfc.setHelper(benchmarkEmbeddedHelper, true);
View Full Code Here


    //
    //--------------------------------------------------------------------------
   
    public static int errorCount()
    {
        Logger l = logger.get();
        if (l != null)
        {
            return l.errorCount();
        }
        else
        {
            return 0;
        }
View Full Code Here

        }
    }

    public static int warningCount()
    {
        Logger l = logger.get();
        if (l != null)
        {
            return l.warningCount();
        }
        else
        {
            return 0;
        }
View Full Code Here

        }
    }

    public static void logInfo(String info)
    {
        Logger l = logger.get();
        if (l != null)
        {
            l.logInfo(info);
        }
        else
        {
            System.out.println(info);
        }
View Full Code Here

        }
    }

    public static void logDebug(String debug)
    {
        Logger l = logger.get();
        if (l != null)
        {
            l.logDebug(debug);
        }
        else
        {
            System.err.println(debug);
        }
View Full Code Here

        }
    }

    public static void logWarning(String warning)
    {
        Logger l = logger.get();
        if (l != null)
        {
            l.logWarning(warning);
        }
        else
        {
            System.err.println(warning);
        }
View Full Code Here

        }
    }

    public static void logError(String error)
    {
        Logger l = logger.get();
        if (l != null)
        {
            l.logError(error);
        }
        else
        {
            System.err.println(error);
        }
View Full Code Here

        }
    }

    public static void logInfo(String path, String info)
    {
        Logger l = logger.get();
        if (l != null)
        {
            l.logInfo(path, info);
        }
        else
        {
            System.out.println(path + ":" + info);
        }
View Full Code Here

        }
    }

    public static void logDebug(String path, String debug)
    {
        Logger l = logger.get();
        if (l != null)
        {
            l.logDebug(path, debug);
        }
        else
        {
            System.err.println(path + ":" + debug);
        }
View Full Code Here

        }
    }

    public static void logWarning(String path, String warning)
    {
        Logger l = logger.get();
        if (l != null)
        {
            l.logWarning(path, warning);
        }
        else
        {
            System.err.println(path + ":" + warning);
        }
View Full Code Here

TOP

Related Classes of flex2.compiler.CompilerBenchmarkHelper

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.