Function stopwatch

Creates a new stopwatch instance.