public class CTimer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
m_countSuspends |
protected long |
m_duration |
protected ILogger |
m_iLogger
This member is used to output errors, warnings and info.
|
protected long |
m_startIntervalTime |
protected long |
m_startTime
This member is used to time processing
|
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Accessors
|
void |
resume() |
void |
start()
This function is to start the timer.
|
void |
suspend()
This function is called to suspend the timer.
|
protected ILogger m_iLogger
protected long m_startTime
protected long m_startIntervalTime
protected long m_duration
protected int m_countSuspends
public CTimer(ILogger iLogger)
public CTimer()