API Reference > bentleyjs-core > Utils > StopWatch > constructor constructor Method ctor for StopWatch StopWatch(description?: string, startImmediately: boolean = false): StopWatch Parameter Type Description description string optional string stored with the StopWatch startImmediately boolean if true, StopWatch is started when created. Otherwise, call start() explicitly. Returns - StopWatch Defined in core/bentley/src/Time.ts Line 146 Last Updated: 15 June, 2021