|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkTimerLog
vtkTimerLog - Timer support and logging. vtkTimerLog contains walltime and cputime measurements associated with a given event. These results can be later analyzed when "dumping out" the table. In addition, vtkTimerLog allows the user to simply get the current time, and to start/stop a simple timer separate from the timing table logging. JavaBean wrapper for vtkTimerLog object.
Field Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkTimerLog()
|
protected |
vtkTimerLog(int dmy)
|
Method Summary | |
void |
allocateLog()
Allocate timing table with MaxEntries elements. |
void |
cleanupLog()
Remove timer log. |
void |
dumpLog(java.lang.String id0)
Write the timing table out to a file. |
java.lang.String |
getClassName()
Return the class name as a string. |
double |
getCPUTime()
Returns the CPU time for this process On Win32 platforms this actually returns wall time. |
double |
getCurrentTime()
Returns the elapsed number of seconds since January 1, 1970. |
double |
getElapsedTime()
Returns the difference between StartTime and EndTime as a doubleing point value indicating the elapsed time in seconds. |
int |
getEventIndent(int id0)
Programatic access to events. |
java.lang.String |
getEventString(int id0)
Programatic access to events. |
double |
getEventWallTime(int id0)
Programatic access to events. |
int |
getLogging()
This flag will turn loging of events off or on. |
int |
getMaxEntries()
Set/Get the maximum number of entries allowed in the timer log |
int |
getNumberOfEvents()
Programatic access to events. |
vtkTimerLog |
getThisTimerLog()
|
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
loggingOff()
Set/Get the maximum number of entries allowed in the timer log |
void |
loggingOn()
This flag will turn loging of events off or on. |
void |
markEndEvent(java.lang.String id0)
I want to time events, so I am creating this interface to mark events that have a start and an end. |
void |
markEvent(java.lang.String id0)
Record a timing event and capture wall time and cpu ticks. |
void |
markStartEvent(java.lang.String id0)
I want to time events, so I am creating this interface to mark events that have a start and an end. |
void |
resetLog()
Clear the timing table. |
void |
setLogging(int id0)
This flag will turn loging of events off or on. |
void |
setMaxEntries(int id0)
Set/Get the maximum number of entries allowed in the timer log |
void |
startTimer()
Set the StartTime to the current time. |
void |
stopTimer()
Sets EndTime to the current time. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkTimerLog()
protected vtkTimerLog(int dmy)
Method Detail |
public vtkTimerLog getThisTimerLog()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkObject
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkObject
public void setLogging(int id0)
public int getLogging()
public void loggingOn()
public void loggingOff()
public void setMaxEntries(int id0)
public int getMaxEntries()
public void dumpLog(java.lang.String id0)
public void markStartEvent(java.lang.String id0)
public void markEndEvent(java.lang.String id0)
public int getNumberOfEvents()
public int getEventIndent(int id0)
public double getEventWallTime(int id0)
public java.lang.String getEventString(int id0)
public void markEvent(java.lang.String id0)
public void resetLog()
public void allocateLog()
public void cleanupLog()
public double getCurrentTime()
public double getCPUTime()
public void startTimer()
public void stopTimer()
public double getElapsedTime()
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |