Stopwatch Interfaces, Classes and Traits Section Stopwatch section. Stopwatch Stopwatch provides a way to profile code. StopwatchEvent Represents an Event managed by Stopwatch. StopwatchPeriod Represents an Period for an Event.