Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Util.StopwatchReal

Summary

Concrete implementation of Stopwatch. This class provides an object that remembers events as they happen and when they happen and outputs a report with timing information at the end.

Constructors

Creates a new instance of StopwatchReal.

Instance methods

void
Log(string msg)
Logs an event.
void
SaveToFile(string filePath)
Outputs the stopwatch report with timing information to the specified file.
string
  • Overrides: object.ToString()
Generates a report with timing information detailling when each logged event happened relative to the StopwatchReal.StartTime.

Static properties

StopwatchProvides access to a global instance of StopwatchReal.

Instance fields

List<StopwatchElement> Remembers the events as they happen.
DateTime Remembers when the stopwatch was started.