| Modifier and Type | Class and Description |
|---|---|
protected class |
CPUTimer.CPUTimerFactory.ThreadIdentifier |
| Modifier and Type | Field and Description |
|---|---|
protected static CPUTimer.CPUTimerFactory |
theFactory |
| Constructor and Description |
|---|
CPUTimer.CPUTimerFactory() |
| Modifier and Type | Method and Description |
|---|---|
CPUTimer |
getCreateCurrentTimer(String id)
get the CPUTimer for a given ID for this thread, create it if it does not yet exist
the timer is in paused mode
|
CPUTimer |
getCurrentTimer(String id)
get the CPUTimer for a given ID for this thread
the timer is in paused mode
|
CPUTimer |
getGlobalTimer(String id)
get the summary of all matching timers over all threads
|
Vector<CPUTimer> |
getTimers(String id)
get all timers for all threads for a given id
|
String |
toString() |
protected static CPUTimer.CPUTimerFactory theFactory
public CPUTimer getCurrentTimer(String id)
id - the id for the timerpublic CPUTimer getGlobalTimer(String id)
id - if null get allpublic Vector<CPUTimer> getTimers(String id)
id - if null get allpublic CPUTimer getCreateCurrentTimer(String id)
id - the id for the timerpublic String toString()
toString in class ObjectObject.toString()Copyright © 2013. All Rights Reserved.