|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.speech.freetts.util.BulkTimer
Provides a suite of timers that are used to collect and generate performance metrics for FreeTTS.
| Field Summary | |
static BulkTimer |
LOAD
A BulkTimer that can be used by classes that need to time their loading phase. |
| Constructor Summary | |
BulkTimer()
Creates a bulk timer. |
|
| Method Summary | |
Timer |
getTimer(java.lang.String name)
Gets the timer with the given name. |
boolean |
isVerbose()
Checks to see if we are in verbose mode. |
void |
setVerbose(boolean verbose)
Sets verbose mode. |
void |
show(java.lang.String title)
Shows all of the collected times. |
void |
start()
Starts the bulk timer. |
void |
start(java.lang.String name)
Starts the timer with the given name. |
void |
stop()
Stops the bulk timer. |
void |
stop(java.lang.String name)
Stops the timer with the given name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final BulkTimer LOAD
| Constructor Detail |
public BulkTimer()
| Method Detail |
public void start(java.lang.String name)
name - the name of the timer to startpublic void stop(java.lang.String name)
name - the name of the timerpublic void start()
start and end calls on the
BulkTimer .
public void stop()
public void setVerbose(boolean verbose)
verbose - the verbose modepublic boolean isVerbose()
true if verbose mode; otherwise
false.public Timer getTimer(java.lang.String name)
name - the timer name
public void show(java.lang.String title)
title - the title for the display
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||