jaxx.compiler
Class JAXXProfile

java.lang.Object
  extended by jaxx.compiler.JAXXProfile

public class JAXXProfile
extends Object

Pour profiler les temps d'execution pendant une compilation.

Since:
1.3
Author:
tony

Nested Class Summary
protected  class JAXXProfile.CompilerEntry
           
static class JAXXProfile.ProfileResult
           
 
Field Summary
static String TIME_PATTERN
           
 
Constructor Summary
JAXXProfile()
           
 
Method Summary
 void addTime(JAXXCompiler compiler, String key)
           
 StringBuilder computeProfileReport()
           
protected  JAXXCompiler getCompiler(int hasCode)
           
 Map<JAXXCompiler,Long> getDelta(String label, String keyOne, String keyTwo)
           
protected  JAXXProfile.CompilerEntry getEntry(JAXXCompiler compiler)
           
 JAXXProfile.ProfileResult newProfileResult(JAXXEngine.LifeCycle step)
           
 JAXXProfile.ProfileResult newProfileResult(JAXXProfile.ProfileResult... toCumul)
           
protected  void printReportLine(StringBuilder buffer, String reportPattern, String label, long firstPassCounter, long secondPassCounter, long cssCounter, long finalizeCounter, long generatorCounter, long totalCounter)
           
protected  void printReportLine2(StringBuilder buffer, String reportPattern, String label, long firstPassCounter, long secondPassCounter, long cssCounter, long finalizeCounter, long generatorCounter, long totalCounter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIME_PATTERN

public static final String TIME_PATTERN
See Also:
Constant Field Values
Constructor Detail

JAXXProfile

public JAXXProfile()
Method Detail

addTime

public void addTime(JAXXCompiler compiler,
                    String key)

getDelta

public Map<JAXXCompiler,Long> getDelta(String label,
                                       String keyOne,
                                       String keyTwo)

newProfileResult

public JAXXProfile.ProfileResult newProfileResult(JAXXEngine.LifeCycle step)

newProfileResult

public JAXXProfile.ProfileResult newProfileResult(JAXXProfile.ProfileResult... toCumul)

computeProfileReport

public StringBuilder computeProfileReport()

printReportLine

protected void printReportLine(StringBuilder buffer,
                               String reportPattern,
                               String label,
                               long firstPassCounter,
                               long secondPassCounter,
                               long cssCounter,
                               long finalizeCounter,
                               long generatorCounter,
                               long totalCounter)

printReportLine2

protected void printReportLine2(StringBuilder buffer,
                                String reportPattern,
                                String label,
                                long firstPassCounter,
                                long secondPassCounter,
                                long cssCounter,
                                long finalizeCounter,
                                long generatorCounter,
                                long totalCounter)

getEntry

protected JAXXProfile.CompilerEntry getEntry(JAXXCompiler compiler)

getCompiler

protected JAXXCompiler getCompiler(int hasCode)


Copyright © 2008-2010 CodeLutin. All Rights Reserved.