|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.CompilerStatistics
public class CompilerStatistics
Provides statistics about a run of the pan compiler. These statistics can be used to judge the performance of the compiler with different options.
| Constructor Summary | |
|---|---|
CompilerStatistics()
Creates an object to keep track of statistics during the run of the pan compiler. |
|
| Method Summary | |
|---|---|
java.lang.String |
getResults(long totalErrors)
Generates a terse String representation of the statistics. |
void |
incrementFinishedTasks(TaskResult.ResultType type)
Increase the count of the number of tasks of the given type that have finished successfully. |
void |
incrementStartedTasks(TaskResult.ResultType type)
Increase the count of the number of tasks of the given type that have been started. |
void |
setBuildTime(long buildTime)
Define the total (clock) time for a complete build in milliseconds. |
void |
setFileCount(long fileCount)
The total number of files which were processed by the compiler. |
void |
updateMemoryInfo()
Take a snapshot of the current memory usage of the JVM and update the high-water marks. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompilerStatistics()
| Method Detail |
|---|
public void setBuildTime(long buildTime)
buildTime - wall-clock build timepublic void setFileCount(long fileCount)
fileCount - number of processed filespublic void incrementStartedTasks(TaskResult.ResultType type)
type - type of task that was startedpublic void incrementFinishedTasks(TaskResult.ResultType type)
type - type of task that finishedpublic void updateMemoryInfo()
public java.lang.String getResults(long totalErrors)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||