Package com.nt.udc.io
Class CTimer
java.lang.Object
com.nt.udc.io.CTimer
This class is used as a timer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected long
protected ILogger
This member is used to output errors, warnings and info.protected long
protected long
This member is used to time processing -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
m_iLogger
This member is used to output errors, warnings and info. -
m_startTime
protected long m_startTimeThis member is used to time processing -
m_startIntervalTime
protected long m_startIntervalTime -
m_duration
protected long m_duration -
m_countSuspends
protected int m_countSuspends
-
-
Constructor Details
-
CTimer
-
CTimer
public CTimer()
-
-
Method Details
-
getDuration
public long getDuration()Accessors -
start
public void start()This function is to start the timer. -
suspend
public void suspend()This function is called to suspend the timer. -
resume
public void resume()
-