# New Profiling Point Wizard: Stopwatch

Use to obtain a timestamp each time that the profiling point is hit. You can obtain the length of time between two locations by selecting Timestamp and Duration and setting a start and a stop profiling point.

Element | Description
--- | ---
Name | Specifies the name that you want to use to identify the profiling point. This name is used to identify the profiling point in the Profiling Points window.
Settings | Snapshot setting
Timestamp | Retrieves a timestamp when the profiling point is hit.
Timestamp and Duration | Finds the length of time between two paired timestamps. If you select this option, you must specify the location for a starting point for the stopwatch and the location for the stopping point.
Location | Specifies the name of the file and the line in the source code where you want to place the profiling point. Click Browse to locate the file in your project. Select Begin or End to specify if the profiling point is hit when a thread hits the beginning of the line or reaches the end of the line.

If you opened the New Profiling Point wizard by clicking in a line in a source file, the file and line are automatically set for you but you can modify the settings as needed.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.