| Modifier and Type | Field and Description |
|---|---|
| private long | durationMs
Duration of the recorded event in milliseconds. |
| private String | name
Name of the recorded event. |
| Access | Constructor and Description |
|---|---|
| public | PerformanceLogRecord(String
name of the event. name, long duration in milliseconds of the event. durationMs)Create a new performance log record for an event. |
| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: duration in milliseconds of the recorded event.Get the duration in milliseconds of the recorded event. |
| public String |
| durationMs | back to summary |
|---|---|
| private long durationMs Duration of the recorded event in milliseconds. | |
| name | back to summary |
|---|---|
| private String name Name of the recorded event. | |
| PerformanceLogRecord | back to summary |
|---|---|
| public PerformanceLogRecord(String name, long durationMs) Create a new performance log record for an event.
| |
| getDurationMs | back to summary |
|---|---|
| public long getDurationMs() Get the duration in milliseconds of the recorded event.
| |
| getName | back to summary |
|---|---|
| public String getName() Get the name of the recorded event.
| |