public class PerformanceLogRecord extends Object
Constructor and Description |
---|
PerformanceLogRecord(String name,
long durationMs)
Create a new performance log record for an event.
|
Modifier and Type | Method and Description |
---|---|
long |
getDurationMs()
Get the duration in milliseconds of the recorded event.
|
String |
getName()
Get the name of the recorded event.
|
public PerformanceLogRecord(String name, long durationMs)
name
- name of the event.durationMs
- duration in milliseconds of the event.public String getName()
public long getDurationMs()
Copyright © 2020 Eclipse JGit Project. All rights reserved.