System.Diagnostics.TStopwatch.Start

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Start;

C++

void __fastcall Start();

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Diagnostics.pas
System.Diagnostics.hpp
System.Diagnostics TStopwatch

Description

Starts a stopped stopwatch.

Call Start to start a stopped stopwatch. If the stopwatch was previously started, Start simply returns. To stop a started stopwatch, use the Stop method.

If the stopwatch was previously used, the total elapsed time is cumulated with the new time span. This means that you can start and stop a stopwatch multiple times and its Elapsed property will cumulate all the periods in which the stopwatch was active.

See Also