AcUtils
A high performance abstraction layer for AccuRev
|
Determine the amount of time a task takes to run. More...
Public Member Functions | |
delegate void | ElapsedTimeHandler (string elapsedTime) |
AcStopWatch (ElapsedTimeHandler elapsedTimeHandler) | |
Constructor that takes an ElapsedTimeHandler. More... | |
void | Start () |
Set the stopwatch to zero and begin measuring elapsed time. More... | |
void | Stop () |
Call the client's ElapsedTimeHandler with the elapsed time as a formatted string in days, hours, minutes and seconds. More... | |
Determine the amount of time a task takes to run.
Definition at line 25 of file AcStopWatch.cs.
|
inline |
Constructor that takes an ElapsedTimeHandler.
elapsedTimeHandler | The client's ElapsedTimeHandler to call with the elapsed time. |
Definition at line 38 of file AcStopWatch.cs.
delegate void AcUtils.AcStopWatch.ElapsedTimeHandler | ( | string | elapsedTime | ) |
The ElapsedTimeHandler delegate type.
|
inline |
Set the stopwatch to zero and begin measuring elapsed time.
Definition at line 46 of file AcStopWatch.cs.
Referenced by AcUtils.AcStopWatchMarker.AcStopWatchMarker().
|
inline |
Call the client's ElapsedTimeHandler with the elapsed time as a formatted string in days, hours, minutes and seconds.
Definition at line 54 of file AcStopWatch.cs.
Referenced by AcUtils.AcStopWatchMarker.Dispose().